CopyableBuilder<Tag.Builder,Tag>, SdkBuilder<Tag.Builder,Tag>public static interface Tag.Builder extends CopyableBuilder<Tag.Builder,Tag>
| Modifier and Type | Method | 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.
|
copyapply, buildTag.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 "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 cannot 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 cannot 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 cannot 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}_.:/=+\\-]*)$").Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.