Interface ListTransactionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTransactionsResponse.Builder,
,ListTransactionsResponse> ManagedBlockchainQueryResponse.Builder
,SdkBuilder<ListTransactionsResponse.Builder,
,ListTransactionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTransactionsResponse
public static interface ListTransactionsResponse.Builder
extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<ListTransactionsResponse.Builder,ListTransactionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token that indicates the next set of results to retrieve.transactions
(Collection<TransactionOutputItem> transactions) The array of transactions returned by the request.transactions
(Consumer<TransactionOutputItem.Builder>... transactions) The array of transactions returned by the request.transactions
(TransactionOutputItem... transactions) The array of transactions returned by the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
transactions
The array of transactions returned by the request.
- Parameters:
transactions
- The array of transactions returned by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactions
The array of transactions returned by the request.
- Parameters:
transactions
- The array of transactions returned by the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactions
ListTransactionsResponse.Builder transactions(Consumer<TransactionOutputItem.Builder>... transactions) The array of transactions returned by the request.
This is a convenience method that creates an instance of theTransactionOutputItem.Builder
avoiding the need to create one manually viaTransactionOutputItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransactions(List<TransactionOutputItem>)
.- Parameters:
transactions
- a consumer that will call methods onTransactionOutputItem.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.
-