Class IndexedTrait

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

public final class IndexedTrait extends AnnotationTrait
Requires structures and unions in a service closure to use member indexes.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • IndexedTrait

      public IndexedTrait(ObjectNode node)
    • IndexedTrait

      public IndexedTrait()