@Generated(value="software.amazon.awssdk:codegen") public final class Tag extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Tag.Builder,Tag>
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Tag.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Tag.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
A key is the required name of the tag.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Tag.Builder> |
serializableBuilderClass() |
Tag.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
A value is the optional value of the tag.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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}_.:/=+\\-@]*)$").
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}_.:/=+\\-@]*)$").public final 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}_.:/=+\\-@]*)$").
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}_.:/=+\\-@]*)$").public Tag.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Tag.Builder,Tag>public static Tag.Builder builder()
public static Class<? extends Tag.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.