@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagCriterionPairForJob extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a tag key, a tag value, or a tag key and value (as a pair) to use in a tag-based condition that determines whether an S3 bucket 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.
| Constructor and Description |
|---|
TagCriterionPairForJob() |
| Modifier and Type | Method and Description |
|---|---|
TagCriterionPairForJob |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The value for the tag key to use in the condition.
|
String |
getValue()
The tag value to use in the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKey(String key)
The value for the tag key to use in the condition.
|
void |
setValue(String value)
The tag value to use in the condition.
|
String |
toString()
Returns a string representation of this object.
|
TagCriterionPairForJob |
withKey(String key)
The value for the tag key to use in the condition.
|
TagCriterionPairForJob |
withValue(String value)
The tag value to use in the condition.
|
public void setKey(String key)
The value for the tag key to use in the condition.
key - The value for the tag key to use in the condition.public String getKey()
The value for the tag key to use in the condition.
public TagCriterionPairForJob withKey(String key)
The value for the tag key to use in the condition.
key - The value for the tag key to use in the condition.public void setValue(String value)
The tag value to use in the condition.
value - The tag value to use in the condition.public String getValue()
The tag value to use in the condition.
public TagCriterionPairForJob withValue(String value)
The tag value to use in the condition.
value - The tag value to use in the condition.public String toString()
toString in class ObjectObject.toString()public TagCriterionPairForJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.