@Generated(value="software.amazon.awssdk:codegen") public final class Tag extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Tag.Builder,Tag>
The Tag type enables you to specify a key-value pair that can be used to store information about an AWS CloudFormation stack.
| 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()
Required.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Tag.Builder> |
serializableBuilderClass() |
Tag.Builder |
toBuilder() |
String |
toString() |
String |
value()
Required.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String key()
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key.
Tags owned by Amazon Web Services (AWS) have the reserved prefix: aws:.
aws:.public String value()
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
public Tag.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Tag.Builder,Tag>public static Tag.Builder builder()
public static Class<? extends Tag.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.