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 tag value.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. The key is required when you create a tag on an object. The key is case-sensitive, and must not contain the prefix aws.
- Parameters:
key- The tag key. The key is required when you create a tag on an object. The key is case-sensitive, and must not contain the prefix aws.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The tag value. The value is optional when you create a tag on an object. The value is case-sensitive, and must not contain the prefix aws.
- Parameters:
value- The tag value. The value is optional when you create a tag on an object. The value is case-sensitive, and must not contain the prefix aws.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-