@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Order extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the sort order of a sorted column.
| Constructor and Description |
|---|
Order() |
| Modifier and Type | Method and Description |
|---|---|
Order |
clone() |
boolean |
equals(Object obj) |
String |
getColumn()
The name of the column.
|
Integer |
getSortOrder()
Indicates that the column is sorted in ascending order (
== 1), or in descending order (
==0). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setColumn(String column)
The name of the column.
|
void |
setSortOrder(Integer sortOrder)
Indicates that the column is sorted in ascending order (
== 1), or in descending order (
==0). |
String |
toString()
Returns a string representation of this object.
|
Order |
withColumn(String column)
The name of the column.
|
Order |
withSortOrder(Integer sortOrder)
Indicates that the column is sorted in ascending order (
== 1), or in descending order (
==0). |
public void setColumn(String column)
The name of the column.
column - The name of the column.public String getColumn()
The name of the column.
public Order withColumn(String column)
The name of the column.
column - The name of the column.public void setSortOrder(Integer sortOrder)
Indicates that the column is sorted in ascending order (== 1), or in descending order (
==0).
sortOrder - Indicates that the column is sorted in ascending order (== 1), or in descending order (
==0).public Integer getSortOrder()
Indicates that the column is sorted in ascending order (== 1), or in descending order (
==0).
== 1), or in descending order (
==0).public Order withSortOrder(Integer sortOrder)
Indicates that the column is sorted in ascending order (== 1), or in descending order (
==0).
sortOrder - Indicates that the column is sorted in ascending order (== 1), or in descending order (
==0).public 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.