@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SortDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The details of 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 by which to sort the data.
|
String |
getSortOrder()
The order in which to sort the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(String key)
The key by which to sort the data.
|
void |
setSortOrder(String sortOrder)
The order in which to sort the data.
|
String |
toString()
Returns a string representation of this object.
|
SortDefinition |
withKey(String key)
The key by which to sort the data.
|
SortDefinition |
withSortOrder(SortOrder sortOrder)
The order in which to sort the data.
|
SortDefinition |
withSortOrder(String sortOrder)
The order in which to sort the data.
|
public void setKey(String key)
The key by which to sort the data.
key
- The key by which to sort the data.public String getKey()
The key by which to sort the data.
public SortDefinition withKey(String key)
The key by which to sort the data.
key
- The key by which to sort the data.public void setSortOrder(String sortOrder)
The order in which to sort the data.
sortOrder
- The order in which to sort the data.SortOrder
public String getSortOrder()
The order in which to sort the data.
SortOrder
public SortDefinition withSortOrder(String sortOrder)
The order in which to sort the data.
sortOrder
- The order in which to sort the data.SortOrder
public SortDefinition withSortOrder(SortOrder sortOrder)
The order in which to sort the data.
sortOrder
- The order in which to sort the data.SortOrder
public String toString()
toString
in class Object
Object.toString()
public SortDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.