@Generated(value="software.amazon.awssdk:codegen") public final class Tag extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Tag.Builder,Tag>
Metadata that is associated with Amazon Web Services resources. In particular, a name-value pair that can be
associated with an Cloud9 development environment. There are two types of tags: user tags and system
tags. A user tag is created by the user. A system tag is automatically created by Amazon Web Services services. A
system tag is prefixed with "aws:" and cannot be modified by the user.
| 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()
The name part of a tag.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Tag.Builder> |
serializableBuilderClass() |
Tag.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value part of a tag.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String key()
The name part of a tag.
public final String value()
The value part of a tag.
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 © 2022. All rights reserved.