@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)
Marshalls this structured data using the given
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.FilterField
public String getField()
The field on which to filter.
FilterField
public Filter withField(String field)
The field on which to filter.
field
- The field on which to filter.FilterField
public Filter withField(FilterField field)
The field on which to filter.
field
- The field on which to filter.FilterField
public 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.FilterOperator
public String getOperator()
The operator to use for comparing the field’s value with the provided value.
FilterOperator
public 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.FilterOperator
public 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.FilterOperator
public 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.