@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; useful for testing and debugging.
|
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.OrderString
public String getSortOrder()
Ordering direction.
OrderString
public OrderByElement withSortOrder(String sortOrder)
Ordering direction.
sortOrder
- Ordering direction.OrderString
public void setSortOrder(OrderString sortOrder)
Ordering direction.
sortOrder
- Ordering direction.OrderString
public OrderByElement withSortOrder(OrderString sortOrder)
Ordering direction.
sortOrder
- Ordering direction.OrderString
public String toString()
toString
in class Object
Object.toString()
public OrderByElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.