@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.OrderByFieldType
public String getField()
Sort search results based on this field name.
OrderByFieldType
public SearchSortResult withField(String field)
Sort search results based on this field name.
field
- Sort search results based on this field name.OrderByFieldType
public SearchSortResult withField(OrderByFieldType field)
Sort search results based on this field name.
field
- Sort search results based on this field name.OrderByFieldType
public void setOrder(String order)
Sort direction.
order
- Sort direction.SortOrder
public SearchSortResult withOrder(String order)
Sort direction.
order
- Sort direction.SortOrder
public SearchSortResult withOrder(SortOrder order)
Sort direction.
order
- Sort direction.SortOrder
public String toString()
toString
in class Object
Object.toString()
public SearchSortResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.