@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchResourcesTagCriterionPair 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 filter condition for a query. Tag keys and values are case sensitive. Also, Amazon Macie doesn't support use of partial values or wildcard characters in tag-based filter conditions.
Constructor and Description |
---|
SearchResourcesTagCriterionPair() |
Modifier and Type | Method and Description |
---|---|
SearchResourcesTagCriterionPair |
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)
Marshalls this structured data using the given
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.
|
SearchResourcesTagCriterionPair |
withKey(String key)
The value for the tag key to use in the condition.
|
SearchResourcesTagCriterionPair |
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 SearchResourcesTagCriterionPair 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 SearchResourcesTagCriterionPair 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 Object
Object.toString()
public SearchResourcesTagCriterionPair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.