@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchSortResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of the sort operation.
| Constructor and Description |
|---|
SearchSortResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchSortResult |
clone() |
boolean |
equals(Object obj) |
String |
getField()
Sort search results based on this field name.
|
String |
getOrder()
Sort direction.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setField(String field)
Sort search results based on this field name.
|
void |
setOrder(String order)
Sort direction.
|
String |
toString()
Returns a string representation of this object.
|
SearchSortResult |
withField(OrderByFieldType field)
Sort search results based on this field name.
|
SearchSortResult |
withField(String field)
Sort search results based on this field name.
|
SearchSortResult |
withOrder(SortOrder order)
Sort direction.
|
SearchSortResult |
withOrder(String order)
Sort direction.
|
public void setField(String field)
Sort search results based on this field name.
field - Sort search results based on this field name.OrderByFieldTypepublic String getField()
Sort search results based on this field name.
OrderByFieldTypepublic SearchSortResult withField(String field)
Sort search results based on this field name.
field - Sort search results based on this field name.OrderByFieldTypepublic SearchSortResult withField(OrderByFieldType field)
Sort search results based on this field name.
field - Sort search results based on this field name.OrderByFieldTypepublic void setOrder(String order)
Sort direction.
order - Sort direction.SortOrderpublic SearchSortResult withOrder(String order)
Sort direction.
order - Sort direction.SortOrderpublic SearchSortResult withOrder(SortOrder order)
Sort direction.
order - Sort direction.SortOrderpublic String toString()
toString in class ObjectObject.toString()public SearchSortResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.