Class RequiredTrait

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

public final class RequiredTrait extends AnnotationTrait
Indicates that a structure member is required.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • RequiredTrait

      public RequiredTrait(ObjectNode node)
    • RequiredTrait

      public RequiredTrait()