Class NoReplaceTrait

java.lang.Object
software.amazon.smithy.model.traits.AnnotationTrait
software.amazon.smithy.model.traits.NoReplaceTrait
All Implemented Interfaces:
FromSourceLocation, ToNode, ToShapeId, Trait

public final class NoReplaceTrait extends AnnotationTrait
Indicates that the put lifecycle operation of a resource can only be used to create a resource and cannot replace an existing resource.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • NoReplaceTrait

      public NoReplaceTrait(ObjectNode node)
    • NoReplaceTrait

      public NoReplaceTrait()