@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
.ListTransactionsSortBy
public String getSortBy()
Defaults to the value TRANSACTION_TIMESTAMP
.
TRANSACTION_TIMESTAMP
.ListTransactionsSortBy
public ListTransactionsSort withSortBy(String sortBy)
Defaults to the value TRANSACTION_TIMESTAMP
.
sortBy
- Defaults to the value TRANSACTION_TIMESTAMP
.ListTransactionsSortBy
public ListTransactionsSort withSortBy(ListTransactionsSortBy sortBy)
Defaults to the value TRANSACTION_TIMESTAMP
.
sortBy
- Defaults to the value TRANSACTION_TIMESTAMP
.ListTransactionsSortBy
public 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
.SortOrder
public 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
.SortOrder
public 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
.SortOrder
public 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
.SortOrder
public String toString()
toString
in class Object
Object.toString()
public ListTransactionsSort clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.