@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchResourcesTagCriterion extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a tag-based filter condition that determines which Amazon Web Services resources are included or excluded from the query results.
| Constructor and Description |
|---|
SearchResourcesTagCriterion() |
| Modifier and Type | Method and Description |
|---|---|
SearchResourcesTagCriterion |
clone() |
boolean |
equals(Object obj) |
String |
getComparator()
The operator to use in the condition.
|
List<SearchResourcesTagCriterionPair> |
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<SearchResourcesTagCriterionPair> 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.
|
SearchResourcesTagCriterion |
withComparator(SearchResourcesComparator comparator)
The operator to use in the condition.
|
SearchResourcesTagCriterion |
withComparator(String comparator)
The operator to use in the condition.
|
SearchResourcesTagCriterion |
withTagValues(Collection<SearchResourcesTagCriterionPair> tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
|
SearchResourcesTagCriterion |
withTagValues(SearchResourcesTagCriterionPair... 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).SearchResourcesComparatorpublic String getComparator()
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
SearchResourcesComparatorpublic SearchResourcesTagCriterion 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).SearchResourcesComparatorpublic SearchResourcesTagCriterion withComparator(SearchResourcesComparator 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).SearchResourcesComparatorpublic List<SearchResourcesTagCriterionPair> getTagValues()
The tag keys, tag values, or tag key and value pairs to use in the condition.
public void setTagValues(Collection<SearchResourcesTagCriterionPair> 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 SearchResourcesTagCriterion withTagValues(SearchResourcesTagCriterionPair... 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 SearchResourcesTagCriterion withTagValues(Collection<SearchResourcesTagCriterionPair> 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 SearchResourcesTagCriterion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.