ToCopyableBuilder<Tag.Builder,Tag>
@Generated("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 | Description |
---|---|---|
static interface |
Tag.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Tag.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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. |
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.