@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.Order
public String getOrder()
The order that's used to sort the data.
Order
public OrderBy withOrder(String order)
The order that's used to sort the data.
order
- The order that's used to sort the data.Order
public OrderBy withOrder(Order order)
The order that's used to sort the data.
order
- The order that's used to sort the data.Order
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.