@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.SortOrder
public String getOrder()
The order detail of the wya to sort search results.
SortOrder
public 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.SortOrder
public 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.SortOrder
public String toString()
toString
in class Object
Object.toString()
public SearchSort clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.