public static interface Tag.Builder extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
Modifier and Type | Method and Description |
---|---|
Tag.Builder |
key(String key)
The required name of the tag.
|
Tag.Builder |
value(String value)
The optional value of the tag.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
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}_.:/=+\\-]*)$").
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}_.:/=+\\-]*)$").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}_.:/=+\\-]*)$").
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}_.:/=+\\-]*)$").Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.