@Generated(value="software.amazon.awssdk:codegen") public final class TagValuePair extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TagValuePair.Builder,TagValuePair>
Specifies a tag key or tag key and value pair to use in a tag-based condition for a classification job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TagValuePair.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TagValuePair.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The value for the tag key to use in the condition.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TagValuePair.Builder> |
serializableBuilderClass() |
TagValuePair.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The tag value, associated with the specified tag key (key), to use in the condition.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String key()
The value for the tag key to use in the condition.
public String value()
The tag value, associated with the specified tag key (key), to use in the condition. To specify only a tag key for a condition, specify the tag key for the key property and set this value to an empty string.
public TagValuePair.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TagValuePair.Builder,TagValuePair>public static TagValuePair.Builder builder()
public static Class<? extends TagValuePair.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.