@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchSort extends Object implements Serializable, Cloneable, StructuredPojo
The details of the way to sort search results.
| Constructor and Description |
|---|
SearchSort() |
| Modifier and Type | Method and Description |
|---|---|
SearchSort |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The attribute detail of the way to sort search results.
|
String |
getOrder()
The order detail of the wya to sort search results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttribute(String attribute)
The attribute detail of the way to sort search results.
|
void |
setOrder(String order)
The order detail of the wya to sort search results.
|
String |
toString()
Returns a string representation of this object.
|
SearchSort |
withAttribute(String attribute)
The attribute detail of the way to sort search results.
|
SearchSort |
withOrder(SortOrder order)
The order detail of the wya to sort search results.
|
SearchSort |
withOrder(String order)
The order detail of the wya to sort search results.
|
public void setAttribute(String attribute)
The attribute detail of the way to sort search results.
attribute - The attribute detail of the way to sort search results.public String getAttribute()
The attribute detail of the way to sort search results.
public SearchSort withAttribute(String attribute)
The attribute detail of the way to sort search results.
attribute - The attribute detail of the way to sort search results.public void setOrder(String order)
The order detail of the wya to sort search results.
order - The order detail of the wya to sort search results.SortOrderpublic String getOrder()
The order detail of the wya to sort search results.
SortOrderpublic SearchSort withOrder(String order)
The order detail of the wya to sort search results.
order - The order detail of the wya to sort search results.SortOrderpublic SearchSort withOrder(SortOrder order)
The order detail of the wya to sort search results.
order - The order detail of the wya to sort search results.SortOrderpublic String toString()
toString in class ObjectObject.toString()public SearchSort clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.