Interface Tag.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Tag.Builder,Tag>,SdkBuilder<Tag.Builder,Tag>,SdkPojo
- Enclosing class:
- Tag
public static interface Tag.Builder extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tag.Builderkey(String key)A value that specifies theTagKey, the name of the tag.Tag.Buildervalue(String value)A value that specifies theTagValue, the value assigned to the corresponding tag key.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
key
Tag.Builder key(String key)
A value that specifies the
TagKey, the name of the tag. Tag keys must be unique for the resource to which they are attached.- Parameters:
key- A value that specifies theTagKey, the name of the tag. Tag keys must be unique for the resource to which they are attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Tag.Builder value(String value)
A value that specifies the
TagValue, 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 offinances : Apriland also ofpayroll : April.- Parameters:
value- A value that specifies theTagValue, 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 offinances : Apriland also ofpayroll : April.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-