public static interface Tag.Builder extends 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.
|
copy
apply, 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 cannot be prefixed with "aws:" or "dms:". 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 cannot be prefixed with "aws:" or "dms:". 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 cannot be prefixed with "aws:" or "dms:". 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 cannot be prefixed with "aws:" or "dms:". The string can only contain only the set of
Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex:
"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.