Interface Tag.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Tag.Builder,,Tag> SdkBuilder<Tag.Builder,,Tag> SdkPojo
- Enclosing class:
- Tag
@Mutable
@NotThreadSafe
public static interface Tag.Builder
extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
-
Method Summary
Modifier and TypeMethodDescriptionThe tag key.The value assigned to the corresponding tag key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
key
The tag key. Tag keys must be unique for the domain to which they are attached.
- Parameters:
key- The tag key. Tag keys must be unique for the domain to which they are attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key value pair in a tag set of
project : Trinityandcost-center : Trinity- Parameters:
value- The value assigned to the corresponding tag key. Tag values can be null and don't have to be unique in a tag set. For example, you can have a key value pair in a tag set ofproject : Trinityandcost-center : Trinity- Returns:
- Returns a reference to this object so that method calls can be chained together.
-