@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)
Marshalls this structured data using the given
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).JobComparator
public String getComparator()
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
JobComparator
public 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).JobComparator
public 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).JobComparator
public 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 Object
Object.toString()
public TagCriterionForJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.