@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportSortBy extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about sorting a list of exports.
| Constructor and Description |
|---|
ExportSortBy() |
| Modifier and Type | Method and Description |
|---|---|
ExportSortBy |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The export field to use for sorting.
|
String |
getOrder()
The order to sort the list.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttribute(String attribute)
The export field to use for sorting.
|
void |
setOrder(String order)
The order to sort the list.
|
String |
toString()
Returns a string representation of this object.
|
ExportSortBy |
withAttribute(ExportSortAttribute attribute)
The export field to use for sorting.
|
ExportSortBy |
withAttribute(String attribute)
The export field to use for sorting.
|
ExportSortBy |
withOrder(SortOrder order)
The order to sort the list.
|
ExportSortBy |
withOrder(String order)
The order to sort the list.
|
public void setAttribute(String attribute)
The export field to use for sorting.
attribute - The export field to use for sorting.ExportSortAttributepublic String getAttribute()
The export field to use for sorting.
ExportSortAttributepublic ExportSortBy withAttribute(String attribute)
The export field to use for sorting.
attribute - The export field to use for sorting.ExportSortAttributepublic ExportSortBy withAttribute(ExportSortAttribute attribute)
The export field to use for sorting.
attribute - The export field to use for sorting.ExportSortAttributepublic void setOrder(String order)
The order to sort the list.
order - The order to sort the list.SortOrderpublic String getOrder()
The order to sort the list.
SortOrderpublic ExportSortBy withOrder(String order)
The order to sort the list.
order - The order to sort the list.SortOrderpublic ExportSortBy withOrder(SortOrder order)
The order to sort the list.
order - The order to sort the list.SortOrderpublic String toString()
toString in class ObjectObject.toString()public ExportSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.