@Generated(value="software.amazon.awssdk:codegen") public final class ListTransactionsRequest extends ManagedBlockchainQueryRequest implements ToCopyableBuilder<ListTransactionsRequest.Builder,ListTransactionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListTransactionsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
The address (either a contract or wallet), whose transactions are being requested.
|
static ListTransactionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
BlockchainInstant |
fromBlockchainInstant()
Returns the value of the FromBlockchainInstant property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of transactions to list.
|
QueryNetwork |
network()
The blockchain network where the transactions occurred.
|
String |
networkAsString()
The blockchain network where the transactions occurred.
|
String |
nextToken()
The pagination token that indicates the next set of results to retrieve.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListTransactionsRequest.Builder> |
serializableBuilderClass() |
ListTransactionsSort |
sort()
Sorts items in an ascending order if the first page starts at
fromTime. |
BlockchainInstant |
toBlockchainInstant()
Returns the value of the ToBlockchainInstant property for this object.
|
ListTransactionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String address()
The address (either a contract or wallet), whose transactions are being requested.
public final QueryNetwork network()
The blockchain network where the transactions occurred.
If the service returns an enum value that is not available in the current SDK version, network will
return QueryNetwork.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
networkAsString().
QueryNetworkpublic final String networkAsString()
The blockchain network where the transactions occurred.
If the service returns an enum value that is not available in the current SDK version, network will
return QueryNetwork.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
networkAsString().
QueryNetworkpublic final BlockchainInstant fromBlockchainInstant()
public final BlockchainInstant toBlockchainInstant()
public final ListTransactionsSort sort()
Sorts items in an ascending order if the first page starts at fromTime. Sorts items in a descending
order if the first page starts at toTime.
fromTime. Sorts items in a
descending order if the first page starts at toTime.public final String nextToken()
The pagination token that indicates the next set of results to retrieve.
public final Integer maxResults()
The maximum number of transactions to list.
Even if additional results can be retrieved, the request can return less results than maxResults or
an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken value. The
value of nextToken is null when there are no more results to return
Even if additional results can be retrieved, the request can return less results than
maxResults or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken value.
The value of nextToken is null when there are no more results to return
public ListTransactionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListTransactionsRequest.Builder,ListTransactionsRequest>toBuilder in class ManagedBlockchainQueryRequestpublic static ListTransactionsRequest.Builder builder()
public static Class<? extends ListTransactionsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.