@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
A specific result obtained by specifying the name, value, and operator.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the filter.
|
String |
getOperator()
The operator for the filter.
|
String |
getValue()
The filter values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the filter.
|
void |
setOperator(String operator)
The operator for the filter.
|
void |
setValue(String value)
The filter values.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withName(String name)
The name of the filter.
|
Filter |
withOperator(FilterOperator operator)
The operator for the filter.
|
Filter |
withOperator(String operator)
The operator for the filter.
|
Filter |
withValue(String value)
The filter values.
|
public void setName(String name)
The name of the filter. Filter names are case-sensitive.
name - The name of the filter. Filter names are case-sensitive.public String getName()
The name of the filter. Filter names are case-sensitive.
public Filter withName(String name)
The name of the filter. Filter names are case-sensitive.
name - The name of the filter. Filter names are case-sensitive.public void setValue(String value)
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values
value - The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the
values are joined with an OR, and the request returns all results that match any of the specified valuespublic String getValue()
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values
public Filter withValue(String value)
The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values
value - The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the
values are joined with an OR, and the request returns all results that match any of the specified valuespublic void setOperator(String operator)
The operator for the filter.
operator - The operator for the filter.FilterOperatorpublic String getOperator()
The operator for the filter.
FilterOperatorpublic Filter withOperator(String operator)
The operator for the filter.
operator - The operator for the filter.FilterOperatorpublic Filter withOperator(FilterOperator operator)
The operator for the filter.
operator - The operator for the filter.FilterOperatorpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.