@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter for choosing a subset of objects. Each filter consists of a condition and a match statement. The
condition is either IS or IS_NOT, which specifies whether to include or exclude,
respectively, the objects that match the statement. The match statement consists of a key and a value.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getCondition()
The condition to apply.
|
String |
getKey()
The name of the parameter to filter on.
|
String |
getValue()
A valid value for
Key. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCondition(String condition)
The condition to apply.
|
void |
setKey(String key)
The name of the parameter to filter on.
|
void |
setValue(String value)
A valid value for
Key. |
String |
toString()
Returns a string representation of this object.
|
Filter |
withCondition(FilterConditionString condition)
The condition to apply.
|
Filter |
withCondition(String condition)
The condition to apply.
|
Filter |
withKey(String key)
The name of the parameter to filter on.
|
Filter |
withValue(String value)
A valid value for
Key. |
public void setKey(String key)
The name of the parameter to filter on.
key - The name of the parameter to filter on.public String getKey()
The name of the parameter to filter on.
public Filter withKey(String key)
The name of the parameter to filter on.
key - The name of the parameter to filter on.public void setValue(String value)
A valid value for Key.
value - A valid value for Key.public String getValue()
A valid value for Key.
Key.public Filter withValue(String value)
A valid value for Key.
value - A valid value for Key.public void setCondition(String condition)
The condition to apply.
condition - The condition to apply.FilterConditionStringpublic String getCondition()
The condition to apply.
FilterConditionStringpublic Filter withCondition(String condition)
The condition to apply.
condition - The condition to apply.FilterConditionStringpublic Filter withCondition(FilterConditionString condition)
The condition to apply.
condition - The condition to apply.FilterConditionStringpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.