Class ReadonlyTrait

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

public final class ReadonlyTrait extends AnnotationTrait
Indicates that an operation is read-only.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • ReadonlyTrait

      public ReadonlyTrait(ObjectNode node)
    • ReadonlyTrait

      public ReadonlyTrait()