Class SparseTrait
- java.lang.Object
-
- software.amazon.smithy.model.traits.AnnotationTrait
-
- software.amazon.smithy.model.traits.SparseTrait
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
public final class SparseTrait extends AnnotationTrait
Indicates that a list or map is sparse, meaning they may contain nulls.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SparseTrait.Provider
-
Constructor Summary
Constructors Constructor Description SparseTrait()
SparseTrait(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
-
SparseTrait
public SparseTrait(ObjectNode node)
-
SparseTrait
public SparseTrait()
-
-