@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrderBy extends Object implements Serializable, Cloneable, StructuredPojo
Filter criteria that orders the return output. It can be sorted in ascending or descending order.
Constructor and Description |
---|
OrderBy() |
Modifier and Type | Method and Description |
---|---|
OrderBy |
clone() |
boolean |
equals(Object obj) |
String |
getOrder()
The set order that filters results.
|
String |
getPropertyName()
The property name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOrder(String order)
The set order that filters results.
|
void |
setPropertyName(String propertyName)
The property name.
|
String |
toString()
Returns a string representation of this object.
|
OrderBy |
withOrder(Order order)
The set order that filters results.
|
OrderBy |
withOrder(String order)
The set order that filters results.
|
OrderBy |
withPropertyName(String propertyName)
The property name.
|
public void setOrder(String order)
The set order that filters results.
order
- The set order that filters results.Order
public String getOrder()
The set order that filters results.
Order
public OrderBy withOrder(String order)
The set order that filters results.
order
- The set order that filters results.Order
public OrderBy withOrder(Order order)
The set order that filters results.
order
- The set order that filters results.Order
public void setPropertyName(String propertyName)
The property name.
propertyName
- The property name.public String getPropertyName()
The property name.
public OrderBy withPropertyName(String propertyName)
The property name.
propertyName
- The property name.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.