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