@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTransactionsSort extends Object implements Serializable, Cloneable, StructuredPojo
The container for determining how the list transaction result will be sorted.
| Constructor and Description |
|---|
ListTransactionsSort() |
| Modifier and Type | Method and Description |
|---|---|
ListTransactionsSort |
clone() |
boolean |
equals(Object obj) |
String |
getSortBy()
Defaults to the value
TRANSACTION_TIMESTAMP. |
String |
getSortOrder()
The container for the sort order for
ListTransactions. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSortBy(String sortBy)
Defaults to the value
TRANSACTION_TIMESTAMP. |
void |
setSortOrder(String sortOrder)
The container for the sort order for
ListTransactions. |
String |
toString()
Returns a string representation of this object.
|
ListTransactionsSort |
withSortBy(ListTransactionsSortBy sortBy)
Defaults to the value
TRANSACTION_TIMESTAMP. |
ListTransactionsSort |
withSortBy(String sortBy)
Defaults to the value
TRANSACTION_TIMESTAMP. |
ListTransactionsSort |
withSortOrder(SortOrder sortOrder)
The container for the sort order for
ListTransactions. |
ListTransactionsSort |
withSortOrder(String sortOrder)
The container for the sort order for
ListTransactions. |
public void setSortBy(String sortBy)
Defaults to the value TRANSACTION_TIMESTAMP.
sortBy - Defaults to the value TRANSACTION_TIMESTAMP.ListTransactionsSortBypublic String getSortBy()
Defaults to the value TRANSACTION_TIMESTAMP.
TRANSACTION_TIMESTAMP.ListTransactionsSortBypublic ListTransactionsSort withSortBy(String sortBy)
Defaults to the value TRANSACTION_TIMESTAMP.
sortBy - Defaults to the value TRANSACTION_TIMESTAMP.ListTransactionsSortBypublic ListTransactionsSort withSortBy(ListTransactionsSortBy sortBy)
Defaults to the value TRANSACTION_TIMESTAMP.
sortBy - Defaults to the value TRANSACTION_TIMESTAMP.ListTransactionsSortBypublic void setSortOrder(String sortOrder)
The container for the sort order for ListTransactions. The SortOrder field only
accepts the values ASCENDING and DESCENDING. Not providing SortOrder will
default to ASCENDING.
sortOrder - The container for the sort order for ListTransactions. The SortOrder
field only accepts the values ASCENDING and DESCENDING. Not providing
SortOrder will default to ASCENDING.SortOrderpublic String getSortOrder()
The container for the sort order for ListTransactions. The SortOrder field only
accepts the values ASCENDING and DESCENDING. Not providing SortOrder will
default to ASCENDING.
ListTransactions. The SortOrder
field only accepts the values ASCENDING and DESCENDING. Not providing
SortOrder will default to ASCENDING.SortOrderpublic ListTransactionsSort withSortOrder(String sortOrder)
The container for the sort order for ListTransactions. The SortOrder field only
accepts the values ASCENDING and DESCENDING. Not providing SortOrder will
default to ASCENDING.
sortOrder - The container for the sort order for ListTransactions. The SortOrder
field only accepts the values ASCENDING and DESCENDING. Not providing
SortOrder will default to ASCENDING.SortOrderpublic ListTransactionsSort withSortOrder(SortOrder sortOrder)
The container for the sort order for ListTransactions. The SortOrder field only
accepts the values ASCENDING and DESCENDING. Not providing SortOrder will
default to ASCENDING.
sortOrder - The container for the sort order for ListTransactions. The SortOrder
field only accepts the values ASCENDING and DESCENDING. Not providing
SortOrder will default to ASCENDING.SortOrderpublic String toString()
toString in class ObjectObject.toString()public ListTransactionsSort clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.