@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The search criteria.
| Constructor and Description |
|---|
SearchCriteria() |
| Modifier and Type | Method and Description |
|---|---|
SearchCriteria |
clone() |
boolean |
equals(Object obj) |
List<SearchFilter> |
getFilters()
The filters for the search criteria.
|
Sort |
getSort()
The sort input for search criteria.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFilters(Collection<SearchFilter> filters)
The filters for the search criteria.
|
void |
setSort(Sort sort)
The sort input for search criteria.
|
String |
toString()
Returns a string representation of this object.
|
SearchCriteria |
withFilters(Collection<SearchFilter> filters)
The filters for the search criteria.
|
SearchCriteria |
withFilters(SearchFilter... filters)
The filters for the search criteria.
|
SearchCriteria |
withSort(Sort sort)
The sort input for search criteria.
|
public List<SearchFilter> getFilters()
The filters for the search criteria.
public void setFilters(Collection<SearchFilter> filters)
The filters for the search criteria.
filters - The filters for the search criteria.public SearchCriteria withFilters(SearchFilter... filters)
The filters for the search criteria.
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 for the search criteria.public SearchCriteria withFilters(Collection<SearchFilter> filters)
The filters for the search criteria.
filters - The filters for the search criteria.public void setSort(Sort sort)
The sort input for search criteria.
sort - The sort input for search criteria.public Sort getSort()
The sort input for search criteria.
public SearchCriteria withSort(Sort sort)
The sort input for search criteria.
sort - The sort input for search criteria.public String toString()
toString in class ObjectObject.toString()public SearchCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.