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
,software.amazon.smithy.utils.Tagged
,software.amazon.smithy.utils.ToSmithyBuilder<TagsTrait>
public final class TagsTrait extends StringListTrait implements software.amazon.smithy.utils.ToSmithyBuilder<TagsTrait>, software.amazon.smithy.utils.Tagged
Applies tags to a shape.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagsTrait.Builder
static class
TagsTrait.Provider
-
Nested classes/interfaces inherited from class software.amazon.smithy.model.traits.StringListTrait
StringListTrait.StringListTraitConstructor<T extends StringListTrait>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagsTrait.Builder
builder()
TagsTrait.Builder
toBuilder()
-
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, toNode, toShapeId, toString
-
-
-
-
Field Detail
-
ID
public static final ShapeId ID
-
-
Method Detail
-
toBuilder
public TagsTrait.Builder toBuilder()
- Specified by:
toBuilder
in interfacesoftware.amazon.smithy.utils.ToSmithyBuilder<TagsTrait>
-
builder
public static TagsTrait.Builder builder()
-
-