@Generated(value="software.amazon.awssdk:codegen") public class Tag extends Object implements ToCopyableBuilder<Tag.Builder,Tag>
A complex type that contains Tag
key and Tag
value.
Modifier and Type | Class and Description |
---|---|
static interface |
Tag.Builder |
Modifier and Type | Method and Description |
---|---|
static Tag.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
A string that contains
Tag key. |
static Class<? extends Tag.Builder> |
serializableBuilderClass() |
Tag.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
A string that contains an optional
Tag value. |
copy
public String key()
A string that contains Tag
key.
The string length should be between 1 and 128 characters. Valid characters include a-z
,
A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.
Tag
key.
The string length should be between 1 and 128 characters. Valid characters include a-z
,
A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.
public String value()
A string that contains an optional Tag
value.
The string length should be between 0 and 256 characters. Valid characters include a-z
,
A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.
Tag
value.
The string length should be between 0 and 256 characters. Valid characters include a-z
,
A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.
public Tag.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Tag.Builder,Tag>
public static Tag.Builder builder()
public static Class<? extends Tag.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.