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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrivateTrait.Provider
-
Constructor Summary
Constructors Constructor Description PrivateTrait()
PrivateTrait(ObjectNode node)
-
Method Summary
-
Methods inherited from class software.amazon.smithy.model.traits.AnnotationTrait
equals, getSourceLocation, hashCode, toNode, toShapeId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Constructor Detail
-
PrivateTrait
public PrivateTrait(ObjectNode node)
-
PrivateTrait
public PrivateTrait()
-
-