ToCopyableBuilder<Tag.Builder,Tag>
@Generated("software.amazon.awssdk:codegen") public class Tag extends Object implements ToCopyableBuilder<Tag.Builder,Tag>
Describes a tag.
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() |
The key of the tag.
|
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() |
The value of the tag.
|
public String key()
The key of the tag.
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with
aws:
Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin
with aws:
public String value()
The value of the tag.
Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode characters.
Constraints: Tag values are case-sensitive and accept a maximum of 255 Unicode 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.