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 required name of the tag.Tag.Buildervalue(String value)The optional value of 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, sdkFields
-
-
-
-
Method Detail
-
key
Tag.Builder key(String key)
The required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with "
aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: " ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").- Parameters:
key- The required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: " ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
Tag.Builder value(String value)
The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with "
aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: " ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").- Parameters:
value- The optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with "aws:" or "rds:". The string can contain only the set of Unicode letters, digits, white space, '_', '.', '/', '=', '+', '-' (Java regex: " ^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-