@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Sort extends Object implements Serializable, Cloneable, StructuredPojo
Sort search results.
| Constructor and Description |
|---|
Sort() |
| Modifier and Type | Method and Description |
|---|---|
Sort |
clone() |
boolean |
equals(Object obj) |
String |
getSortField()
The sort field for search criteria.
|
String |
getSortOrder()
The sort order for search criteria.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSortField(String sortField)
The sort field for search criteria.
|
void |
setSortOrder(String sortOrder)
The sort order for search criteria.
|
String |
toString()
Returns a string representation of this object.
|
Sort |
withSortField(SortField sortField)
The sort field for search criteria.
|
Sort |
withSortField(String sortField)
The sort field for search criteria.
|
Sort |
withSortOrder(SortOrder sortOrder)
The sort order for search criteria.
|
Sort |
withSortOrder(String sortOrder)
The sort order for search criteria.
|
public void setSortOrder(String sortOrder)
The sort order for search criteria.
sortOrder - The sort order for search criteria.SortOrderpublic String getSortOrder()
The sort order for search criteria.
SortOrderpublic Sort withSortOrder(String sortOrder)
The sort order for search criteria.
sortOrder - The sort order for search criteria.SortOrderpublic Sort withSortOrder(SortOrder sortOrder)
The sort order for search criteria.
sortOrder - The sort order for search criteria.SortOrderpublic void setSortField(String sortField)
The sort field for search criteria.
sortField - The sort field for search criteria.SortFieldpublic String getSortField()
The sort field for search criteria.
SortFieldpublic Sort withSortField(String sortField)
The sort field for search criteria.
sortField - The sort field for search criteria.SortFieldpublic Sort withSortField(SortField sortField)
The sort field for search criteria.
sortField - The sort field for search criteria.SortFieldpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.