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