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)The name for the tag.Tag.Buildervalue(String value)The value for the tag.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
key
Tag.Builder key(String key)
The name for the tag. For example, if you want to associate Resolver resources with the account IDs of your customers for billing purposes, the value of
Keymight beaccount-id.- Parameters:
key- The name for the tag. For example, if you want to associate Resolver resources with the account IDs of your customers for billing purposes, the value ofKeymight beaccount-id.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Tag.Builder value(String value)
The value for the tag. For example, if
Keyisaccount-id, thenValuemight be the ID of the customer account that you're creating the resource for.- Parameters:
value- The value for the tag. For example, ifKeyisaccount-id, thenValuemight be the ID of the customer account that you're creating the resource for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-