NullableIndex
instead.@Deprecated public final class BoxTrait extends AnnotationTrait
This trait is only used in Smithy IDL 1.0 models and is not allowed in 2.0 models.
Modifier and Type | Class and Description |
---|---|
static class |
BoxTrait.Provider
Deprecated.
|
Constructor and Description |
---|
BoxTrait()
Deprecated.
|
BoxTrait(ObjectNode node)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSynthetic()
Deprecated.
Checks if this trait is persisted with the shape, or if it is a
synthetic, or transient trait, only meant to temporarily aid in
some kind of in-memory model transformation.
|
equals, getSourceLocation, hashCode, toNode, toShapeId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, makeAbsoluteName, makeAbsoluteName
compare
public static final ShapeId ID
public BoxTrait(ObjectNode node)
public BoxTrait()
public boolean isSynthetic()
Trait
Because synthetic traits are not persisted with shapes, they also do not need to be defined in Smithy's semantic model before they can be used in the model.