Interface ListTransactionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTransactionsRequest.Builder,ListTransactionsRequest>,ManagedBlockchainQueryRequest.Builder,SdkBuilder<ListTransactionsRequest.Builder,ListTransactionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTransactionsRequest
public static interface ListTransactionsRequest.Builder extends ManagedBlockchainQueryRequest.Builder, SdkPojo, CopyableBuilder<ListTransactionsRequest.Builder,ListTransactionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListTransactionsRequest.Builderaddress(String address)The 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 .ListTransactionsRequest.BuilderconfirmationStatusFilter(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.ListTransactionsRequest.BuilderfromBlockchainInstant(BlockchainInstant fromBlockchainInstant)Sets the value of the FromBlockchainInstant property for this object.ListTransactionsRequest.BuildermaxResults(Integer maxResults)The maximum number of transactions to list.ListTransactionsRequest.Buildernetwork(String network)The blockchain network where the transactions occurred.ListTransactionsRequest.Buildernetwork(QueryNetwork network)The blockchain network where the transactions occurred.ListTransactionsRequest.BuildernextToken(String nextToken)The pagination token that indicates the next set of results to retrieve.ListTransactionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTransactionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListTransactionsRequest.Buildersort(Consumer<ListTransactionsSort.Builder> sort)The order by which the results will be sorted.ListTransactionsRequest.Buildersort(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.ListTransactionsRequest.BuildertoBlockchainInstant(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 Detail
-
address
ListTransactionsRequest.Builder address(String 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
ListTransactionsRequest.Builder network(String 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:
QueryNetwork,QueryNetwork
-
network
ListTransactionsRequest.Builder network(QueryNetwork 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:
QueryNetwork,QueryNetwork
-
fromBlockchainInstant
ListTransactionsRequest.Builder fromBlockchainInstant(BlockchainInstant 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:
fromBlockchainInstant(BlockchainInstant)
-
toBlockchainInstant
ListTransactionsRequest.Builder toBlockchainInstant(BlockchainInstant 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:
toBlockchainInstant(BlockchainInstant)
-
sort
ListTransactionsRequest.Builder sort(ListTransactionsSort 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
default ListTransactionsRequest.Builder sort(Consumer<ListTransactionsSort.Builder> 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:
sort(ListTransactionsSort)
-
nextToken
ListTransactionsRequest.Builder nextToken(String 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
ListTransactionsRequest.Builder maxResults(Integer 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:
confirmationStatusFilter(ConfirmationStatusFilter)
-
overrideConfiguration
ListTransactionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTransactionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-