@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.ImportSortAttribute
public String getAttribute()
The export field to use for sorting.
ImportSortAttribute
public ImportSortBy withAttribute(String attribute)
The export field to use for sorting.
attribute
- The export field to use for sorting.ImportSortAttribute
public ImportSortBy withAttribute(ImportSortAttribute attribute)
The export field to use for sorting.
attribute
- The export field to use for sorting.ImportSortAttribute
public void setOrder(String order)
The order to sort the list.
order
- The order to sort the list.SortOrder
public String getOrder()
The order to sort the list.
SortOrder
public ImportSortBy withOrder(String order)
The order to sort the list.
order
- The order to sort the list.SortOrder
public ImportSortBy withOrder(SortOrder order)
The order to sort the list.
order
- The order to sort the list.SortOrder
public String toString()
toString
in class Object
Object.toString()
public ImportSortBy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.