Class PrivateTrait

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

public final class PrivateTrait extends AnnotationTrait
Indicates that a shape cannot be targeted outside of the namespace in which it was defined.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • PrivateTrait

      public PrivateTrait(ObjectNode node)
    • PrivateTrait

      public PrivateTrait()