@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
A search filter.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getField()
The field on which to filter.
|
String |
getOperator()
The operator to use for comparing the field’s value with the provided value.
|
String |
getValue()
The desired field value on which to filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setField(String field)
The field on which to filter.
|
void |
setOperator(String operator)
The operator to use for comparing the field’s value with the provided value.
|
void |
setValue(String value)
The desired field value on which to filter.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withField(FilterField field)
The field on which to filter.
|
Filter |
withField(String field)
The field on which to filter.
|
Filter |
withOperator(FilterOperator operator)
The operator to use for comparing the field’s value with the provided value.
|
Filter |
withOperator(String operator)
The operator to use for comparing the field’s value with the provided value.
|
Filter |
withValue(String value)
The desired field value on which to filter.
|
public void setField(String field)
The field on which to filter.
field - The field on which to filter.FilterFieldpublic String getField()
The field on which to filter.
FilterFieldpublic Filter withField(String field)
The field on which to filter.
field - The field on which to filter.FilterFieldpublic Filter withField(FilterField field)
The field on which to filter.
field - The field on which to filter.FilterFieldpublic void setOperator(String operator)
The operator to use for comparing the field’s value with the provided value.
operator - The operator to use for comparing the field’s value with the provided value.FilterOperatorpublic String getOperator()
The operator to use for comparing the field’s value with the provided value.
FilterOperatorpublic Filter withOperator(String operator)
The operator to use for comparing the field’s value with the provided value.
operator - The operator to use for comparing the field’s value with the provided value.FilterOperatorpublic Filter withOperator(FilterOperator operator)
The operator to use for comparing the field’s value with the provided value.
operator - The operator to use for comparing the field’s value with the provided value.FilterOperatorpublic void setValue(String value)
The desired field value on which to filter.
value - The desired field value on which to filter.public String getValue()
The desired field value on which to filter.
public Filter withValue(String value)
The desired field value on which to filter.
value - The desired field value on which to filter.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.