@Generated(value="software.amazon.awssdk:codegen") public final class ListTransactionsSort extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListTransactionsSort.Builder,ListTransactionsSort>
The container for determining how the list transaction result will be sorted.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListTransactionsSort.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListTransactionsSort.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListTransactionsSort.Builder> |
serializableBuilderClass() |
ListTransactionsSortBy |
sortBy()
Defaults to the value
TRANSACTION_TIMESTAMP. |
String |
sortByAsString()
Defaults to the value
TRANSACTION_TIMESTAMP. |
SortOrder |
sortOrder()
The container for the sort order for
ListTransactions. |
String |
sortOrderAsString()
The container for the sort order for
ListTransactions. |
ListTransactionsSort.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ListTransactionsSortBy sortBy()
Defaults to the value TRANSACTION_TIMESTAMP.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return ListTransactionsSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sortByAsString().
TRANSACTION_TIMESTAMP.ListTransactionsSortBypublic final String sortByAsString()
Defaults to the value TRANSACTION_TIMESTAMP.
If the service returns an enum value that is not available in the current SDK version, sortBy will
return ListTransactionsSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sortByAsString().
TRANSACTION_TIMESTAMP.ListTransactionsSortBypublic final 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.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
ListTransactions. The SortOrder
field only accepts the values ASCENDING and DESCENDING. Not providing
SortOrder will default to ASCENDING.SortOrderpublic final String sortOrderAsString()
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.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
ListTransactions. The SortOrder
field only accepts the values ASCENDING and DESCENDING. Not providing
SortOrder will default to ASCENDING.SortOrderpublic ListTransactionsSort.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListTransactionsSort.Builder,ListTransactionsSort>public static ListTransactionsSort.Builder builder()
public static Class<? extends ListTransactionsSort.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.