Class BoxTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AnnotationTrait
-
- software.amazon.smithy.model.traits.BoxTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
public final class BoxTrait extends AnnotationTrait
Indicates that a shape is boxed, meaning a value may or may not be present.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BoxTrait.Provider
-
Constructor Summary
Constructors Constructor Description BoxTrait()
BoxTrait(ObjectNode node)
-
Method Summary
-
Methods inherited from class software.amazon.smithy.model.traits.AnnotationTrait
equals, getSourceLocation, hashCode, toNode, toShapeId
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Constructor Detail
-
BoxTrait
public BoxTrait(ObjectNode node)
-
BoxTrait
public BoxTrait()
-
-