public static interface Tag.Builder extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
Modifier and Type | Method and Description |
---|---|
Tag.Builder |
key(String key)
A key is the required name of the tag.
|
Tag.Builder |
value(String value)
A value is the optional value of the tag.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Tag.Builder key(String key)
A key is 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 only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
key
- A key is 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 only contain only the set of
Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex:
"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").Tag.Builder value(String value)
A value is 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 only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
value
- A value is 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 only contain only the set of
Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex:
"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").