@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 that determines whether an S3 object is included or excluded from a classification job. Tag keys and values are case sensitive. Also, Amazon Macie doesn't support use of partial values or wildcard characters in tag-based conditions.
| 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 final String key()
The value for the tag key to use in the condition.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.