public static interface Tag.Builder extends CopyableBuilder<Tag.Builder,Tag>
Modifier and Type | Method and Description |
---|---|
Tag.Builder |
key(String key)
Required name of the tag.
|
Tag.Builder |
value(String value)
The optional value of the tag.
|
copy
apply, build
Tag.Builder key(String key)
Required name of the tag. The string value can be Unicode characters and cannot be prefixed with "aws:". The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
key
- Required name of the tag. The string value can be Unicode characters and cannot be prefixed with
"aws:". The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/',
'=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").Tag.Builder value(String value)
The optional value of the tag. The string value can be Unicode characters. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").
value
- The optional value of the tag. The string value can be Unicode characters. The string can 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.