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 TypeMethodDescriptionOne part of a key-value pair that defines a tag.The optional part of a key-value pair that defines a tag.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
One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.
- Parameters:
key- One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.
- Parameters:
value- The optional part of a key-value pair that defines a tag. The maximum length of a tag value is 256 characters. The minimum length is 0 characters. If you don't want a resource to have a specific tag value, don't specify a value for this parameter. If you don't specify a value, Amazon SES sets the value to an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-