Class TagsTrait
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait
software.amazon.smithy.model.traits.StringListTrait
software.amazon.smithy.model.traits.TagsTrait
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToShapeId
,Trait
,Tagged
,ToSmithyBuilder<TagsTrait>
Applies tags to a shape.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from class software.amazon.smithy.model.traits.StringListTrait
StringListTrait.StringListTraitConstructor<T extends StringListTrait>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TagsTrait.Builder
builder()
getTags()
Gets the tags applied to an object.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.smithy.model.traits.StringListTrait
createNode, getValues
Methods inherited from class software.amazon.smithy.model.traits.AbstractTrait
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
Field Details
-
ID
-
-
Method Details
-
getTags
Description copied from interface:Tagged
Gets the tags applied to an object. -
toBuilder
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<TagsTrait>
- Returns:
- a builder for type T
-
builder
-