Class TaggableApiConfig
- java.lang.Object
-
- software.amazon.smithy.aws.traits.tagging.TaggableApiConfig
-
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,ToSmithyBuilder<TaggableApiConfig>
public final class TaggableApiConfig extends java.lang.Object implements FromSourceLocation, ToNode, ToSmithyBuilder<TaggableApiConfig>
Structure representing the configuration of resource specific tagging APIs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaggableApiConfig.Builder
Builds aTaggableApiConfig
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaggableApiConfig.Builder
builder()
Creates a builder used to build an TaggableApiConfig.boolean
equals(java.lang.Object o)
ShapeId
getListTagsApi()
Gets the ShapeId of the operation which implements ListTagsForResource behavior for the resource.SourceLocation
getSourceLocation()
Gets the source location of a value.ShapeId
getTagApi()
Gets the ShapeId of the operation which implements TagResource behavior.ShapeId
getUntagApi()
Gets the ShapeId of the operation which implements UntagResource behavior.int
hashCode()
TaggableApiConfig.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.Node
toNode()
Converts a value to aNode
.
-
-
-
Method Detail
-
builder
public static TaggableApiConfig.Builder builder()
Creates a builder used to build an TaggableApiConfig.- Returns:
- Returns the created builder.
-
getTagApi
public ShapeId getTagApi()
Gets the ShapeId of the operation which implements TagResource behavior.- Returns:
- the ShapeId of the tag operation for the resource
-
getUntagApi
public ShapeId getUntagApi()
Gets the ShapeId of the operation which implements UntagResource behavior.- Returns:
- the ShapeId of the untag operation for the resource
-
getListTagsApi
public ShapeId getListTagsApi()
Gets the ShapeId of the operation which implements ListTagsForResource behavior for the resource.- Returns:
- the ShapeId of the list tags operation for the resource
-
getSourceLocation
public SourceLocation getSourceLocation()
Description copied from interface:FromSourceLocation
Gets the source location of a value.- Specified by:
getSourceLocation
in interfaceFromSourceLocation
- Returns:
- Returns the source location of the value.
-
toBuilder
public TaggableApiConfig.Builder 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<TaggableApiConfig>
- Returns:
- a builder for type T
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-