@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrderBy extends Object implements Serializable, Cloneable, StructuredPojo
Defines how rows will be sorted in the response.
| Constructor and Description |
|---|
OrderBy() |
| Modifier and Type | Method and Description |
|---|---|
OrderBy |
clone() |
boolean |
equals(Object obj) |
String |
getDimension()
Sorts by dimension values.
|
String |
getOrder()
The order that's used to sort the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDimension(String dimension)
Sorts by dimension values.
|
void |
setOrder(String order)
The order that's used to sort the data.
|
String |
toString()
Returns a string representation of this object.
|
OrderBy |
withDimension(String dimension)
Sorts by dimension values.
|
OrderBy |
withOrder(Order order)
The order that's used to sort the data.
|
OrderBy |
withOrder(String order)
The order that's used to sort the data.
|
public void setDimension(String dimension)
Sorts by dimension values.
dimension - Sorts by dimension values.public String getDimension()
Sorts by dimension values.
public OrderBy withDimension(String dimension)
Sorts by dimension values.
dimension - Sorts by dimension values.public void setOrder(String order)
The order that's used to sort the data.
order - The order that's used to sort the data.Orderpublic String getOrder()
The order that's used to sort the data.
Orderpublic OrderBy withOrder(String order)
The order that's used to sort the data.
order - The order that's used to sort the data.Orderpublic OrderBy withOrder(Order order)
The order that's used to sort the data.
order - The order that's used to sort the data.Orderpublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.