Interface ListTransactionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListTransactionsRequest.Builder,
,ListTransactionsRequest> ManagedBlockchainQueryRequest.Builder
,SdkBuilder<ListTransactionsRequest.Builder,
,ListTransactionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListTransactionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe address (either a contract or wallet), whose transactions are being requested.default ListTransactionsRequest.Builder
fromBlockchainInstant
(Consumer<BlockchainInstant.Builder> fromBlockchainInstant) Sets the value of the FromBlockchainInstant property for this object.fromBlockchainInstant
(BlockchainInstant fromBlockchainInstant) Sets the value of the FromBlockchainInstant property for this object.maxResults
(Integer maxResults) The maximum number of transactions to list.The blockchain network where the transactions occurred.network
(QueryNetwork network) The blockchain network where the transactions occurred.The pagination token that indicates the next set of results to retrieve.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListTransactionsRequest.Builder
Sorts items in an ascending order if the first page starts atfromTime
.sort
(ListTransactionsSort sort) Sorts items in an ascending order if the first page starts atfromTime
.default ListTransactionsRequest.Builder
toBlockchainInstant
(Consumer<BlockchainInstant.Builder> toBlockchainInstant) Sets the value of the ToBlockchainInstant property for this object.toBlockchainInstant
(BlockchainInstant toBlockchainInstant) Sets the value of the ToBlockchainInstant property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
address
The address (either a contract or wallet), whose transactions are being requested.
- Parameters:
address
- The address (either a contract or wallet), whose transactions are being requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
network
The blockchain network where the transactions occurred.
- Parameters:
network
- The blockchain network where the transactions occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
network
The blockchain network where the transactions occurred.
- Parameters:
network
- The blockchain network where the transactions occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fromBlockchainInstant
Sets the value of the FromBlockchainInstant property for this object.- Parameters:
fromBlockchainInstant
- The new value for the FromBlockchainInstant property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromBlockchainInstant
default ListTransactionsRequest.Builder fromBlockchainInstant(Consumer<BlockchainInstant.Builder> fromBlockchainInstant) Sets the value of the FromBlockchainInstant property for this object. This is a convenience method that creates an instance of theBlockchainInstant.Builder
avoiding the need to create one manually viaBlockchainInstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofromBlockchainInstant(BlockchainInstant)
.- Parameters:
fromBlockchainInstant
- a consumer that will call methods onBlockchainInstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toBlockchainInstant
Sets the value of the ToBlockchainInstant property for this object.- Parameters:
toBlockchainInstant
- The new value for the ToBlockchainInstant property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toBlockchainInstant
default ListTransactionsRequest.Builder toBlockchainInstant(Consumer<BlockchainInstant.Builder> toBlockchainInstant) Sets the value of the ToBlockchainInstant property for this object. This is a convenience method that creates an instance of theBlockchainInstant.Builder
avoiding the need to create one manually viaBlockchainInstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totoBlockchainInstant(BlockchainInstant)
.- Parameters:
toBlockchainInstant
- a consumer that will call methods onBlockchainInstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 attoTime
.- Parameters:
sort
- Sorts items in an ascending order if the first page starts atfromTime
. Sorts items in a descending order if the first page starts attoTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Sorts items in an ascending order if the first page starts at
This is a convenience method that creates an instance of thefromTime
. Sorts items in a descending order if the first page starts attoTime
.ListTransactionsSort.Builder
avoiding the need to create one manually viaListTransactionsSort.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosort(ListTransactionsSort)
.- Parameters:
sort
- a consumer that will call methods onListTransactionsSort.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken
- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ofnextToken
isnull
when there are no more results to return- Parameters:
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 ofnextToken
isnull
when there are no more results to return- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTransactionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListTransactionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-