@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportSortBy extends Object implements Serializable, Cloneable, StructuredPojo
Provides information for sorting a list of imports.
| Constructor and Description | 
|---|
| ImportSortBy() | 
| Modifier and Type | Method and Description | 
|---|---|
| ImportSortBy | 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. | 
| ImportSortBy | withAttribute(ImportSortAttribute attribute)
 The export field to use for sorting. | 
| ImportSortBy | withAttribute(String attribute)
 The export field to use for sorting. | 
| ImportSortBy | withOrder(SortOrder order)
 The order to sort the list. | 
| ImportSortBy | 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.ImportSortAttributepublic String getAttribute()
The export field to use for sorting.
ImportSortAttributepublic ImportSortBy withAttribute(String attribute)
The export field to use for sorting.
attribute - The export field to use for sorting.ImportSortAttributepublic ImportSortBy withAttribute(ImportSortAttribute attribute)
The export field to use for sorting.
attribute - The export field to use for sorting.ImportSortAttributepublic 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 ImportSortBy withOrder(String order)
The order to sort the list.
order - The order to sort the list.SortOrderpublic ImportSortBy 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 ImportSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.