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.BuilderconfirmationStatusFilter(Consumer<ConfirmationStatusFilter.Builder> confirmationStatusFilter) This filter is used to include transactions in the response that haven't reached finality .confirmationStatusFilter(ConfirmationStatusFilter confirmationStatusFilter) This filter is used to include transactions in the response that haven't reached finality .default ListTransactionsRequest.BuilderfromBlockchainInstant(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.BuilderThe order by which the results will be sorted.sort(ListTransactionsSort sort) The order by which the results will be sorted.default ListTransactionsRequest.BuildertoBlockchainInstant(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaBlockchainInstant.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaBlockchainInstant.builder().When the
Consumercompletes,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
The order by which the results will be sorted.
- Parameters:
sort- The order by which the results will be sorted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
The order by which the results will be sorted.
This is a convenience method that creates an instance of theListTransactionsSort.Builderavoiding the need to create one manually viaListTransactionsSort.builder().When the
Consumercompletes,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.
Default:
100Even if additional results can be retrieved, the request can return less results than
maxResultsor an empty array of results.To retrieve the next set of results, make another request with the returned
nextTokenvalue. The value ofnextTokenisnullwhen there are no more results to return- Parameters:
maxResults- The maximum number of transactions to list.Default:
100Even if additional results can be retrieved, the request can return less results than
maxResultsor an empty array of results.To retrieve the next set of results, make another request with the returned
nextTokenvalue. The value ofnextTokenisnullwhen there are no more results to return- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confirmationStatusFilter
ListTransactionsRequest.Builder confirmationStatusFilter(ConfirmationStatusFilter confirmationStatusFilter) This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
- Parameters:
confirmationStatusFilter- This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confirmationStatusFilter
default ListTransactionsRequest.Builder confirmationStatusFilter(Consumer<ConfirmationStatusFilter.Builder> confirmationStatusFilter) This filter is used to include transactions in the response that haven't reached finality . Transactions that have reached finality are always part of the response.
This is a convenience method that creates an instance of theConfirmationStatusFilter.Builderavoiding the need to create one manually viaConfirmationStatusFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfirmationStatusFilter(ConfirmationStatusFilter).- Parameters:
confirmationStatusFilter- a consumer that will call methods onConfirmationStatusFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListTransactionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-