@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchGroupedFilterExpressions extends Object implements Serializable, Cloneable, StructuredPojo
The filter expression, AND
or OR
, to use when searching among a group of search strings in
a resource.
You can use two groupings per search each within parenthesis ()
.
Constructor and Description |
---|
SearchGroupedFilterExpressions() |
Modifier and Type | Method and Description |
---|---|
SearchGroupedFilterExpressions |
clone() |
boolean |
equals(Object obj) |
List<SearchFilterExpression> |
getFilters()
The filters to use for the search.
|
String |
getOperator()
The operators to include in the search.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilters(Collection<SearchFilterExpression> filters)
The filters to use for the search.
|
void |
setOperator(String operator)
The operators to include in the search.
|
String |
toString()
Returns a string representation of this object.
|
SearchGroupedFilterExpressions |
withFilters(Collection<SearchFilterExpression> filters)
The filters to use for the search.
|
SearchGroupedFilterExpressions |
withFilters(SearchFilterExpression... filters)
The filters to use for the search.
|
SearchGroupedFilterExpressions |
withOperator(LogicalOperator operator)
The operators to include in the search.
|
SearchGroupedFilterExpressions |
withOperator(String operator)
The operators to include in the search.
|
public List<SearchFilterExpression> getFilters()
The filters to use for the search.
public void setFilters(Collection<SearchFilterExpression> filters)
The filters to use for the search.
filters
- The filters to use for the search.public SearchGroupedFilterExpressions withFilters(SearchFilterExpression... filters)
The filters to use for the search.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters to use for the search.public SearchGroupedFilterExpressions withFilters(Collection<SearchFilterExpression> filters)
The filters to use for the search.
filters
- The filters to use for the search.public void setOperator(String operator)
The operators to include in the search.
operator
- The operators to include in the search.LogicalOperator
public String getOperator()
The operators to include in the search.
LogicalOperator
public SearchGroupedFilterExpressions withOperator(String operator)
The operators to include in the search.
operator
- The operators to include in the search.LogicalOperator
public SearchGroupedFilterExpressions withOperator(LogicalOperator operator)
The operators to include in the search.
operator
- The operators to include in the search.LogicalOperator
public String toString()
toString
in class Object
Object.toString()
public SearchGroupedFilterExpressions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.