@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrderByElement extends Object implements Serializable, Cloneable, StructuredPojo
A field and direction for ordered output.
| Constructor and Description | 
|---|
| OrderByElement() | 
| Modifier and Type | Method and Description | 
|---|---|
| OrderByElement | clone() | 
| boolean | equals(Object obj) | 
| String | getFieldName()
 The field on which to order. | 
| String | getSortOrder()
 Ordering direction. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setFieldName(String fieldName)
 The field on which to order. | 
| void | setSortOrder(OrderString sortOrder)
 Ordering direction. | 
| void | setSortOrder(String sortOrder)
 Ordering direction. | 
| String | toString()Returns a string representation of this object. | 
| OrderByElement | withFieldName(String fieldName)
 The field on which to order. | 
| OrderByElement | withSortOrder(OrderString sortOrder)
 Ordering direction. | 
| OrderByElement | withSortOrder(String sortOrder)
 Ordering direction. | 
public void setFieldName(String fieldName)
The field on which to order.
fieldName - The field on which to order.public String getFieldName()
The field on which to order.
public OrderByElement withFieldName(String fieldName)
The field on which to order.
fieldName - The field on which to order.public void setSortOrder(String sortOrder)
Ordering direction.
sortOrder - Ordering direction.OrderStringpublic String getSortOrder()
Ordering direction.
OrderStringpublic OrderByElement withSortOrder(String sortOrder)
Ordering direction.
sortOrder - Ordering direction.OrderStringpublic void setSortOrder(OrderString sortOrder)
Ordering direction.
sortOrder - Ordering direction.OrderStringpublic OrderByElement withSortOrder(OrderString sortOrder)
Ordering direction.
sortOrder - Ordering direction.OrderStringpublic String toString()
toString in class ObjectObject.toString()public OrderByElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.