@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagCriterionForJob extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a tag-based condition that determines whether an S3 bucket is included or excluded from a classification job.
| Constructor and Description |
|---|
TagCriterionForJob() |
| Modifier and Type | Method and Description |
|---|---|
TagCriterionForJob |
clone() |
boolean |
equals(Object obj) |
String |
getComparator()
The operator to use in the condition.
|
List<TagCriterionPairForJob> |
getTagValues()
The tag keys, tag values, or tag key and value pairs to use in the condition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComparator(String comparator)
The operator to use in the condition.
|
void |
setTagValues(Collection<TagCriterionPairForJob> tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
|
String |
toString()
Returns a string representation of this object.
|
TagCriterionForJob |
withComparator(JobComparator comparator)
The operator to use in the condition.
|
TagCriterionForJob |
withComparator(String comparator)
The operator to use in the condition.
|
TagCriterionForJob |
withTagValues(Collection<TagCriterionPairForJob> tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
|
TagCriterionForJob |
withTagValues(TagCriterionPairForJob... tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
|
public void setComparator(String comparator)
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
comparator - The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).JobComparatorpublic String getComparator()
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
JobComparatorpublic TagCriterionForJob withComparator(String comparator)
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
comparator - The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).JobComparatorpublic TagCriterionForJob withComparator(JobComparator comparator)
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
comparator - The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).JobComparatorpublic List<TagCriterionPairForJob> getTagValues()
The tag keys, tag values, or tag key and value pairs to use in the condition.
public void setTagValues(Collection<TagCriterionPairForJob> tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
tagValues - The tag keys, tag values, or tag key and value pairs to use in the condition.public TagCriterionForJob withTagValues(TagCriterionPairForJob... tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
NOTE: This method appends the values to the existing list (if any). Use
setTagValues(java.util.Collection) or withTagValues(java.util.Collection) if you want to
override the existing values.
tagValues - The tag keys, tag values, or tag key and value pairs to use in the condition.public TagCriterionForJob withTagValues(Collection<TagCriterionPairForJob> tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
tagValues - The tag keys, tag values, or tag key and value pairs to use in the condition.public String toString()
toString in class ObjectObject.toString()public TagCriterionForJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.