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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTransactionsResponse.BuildernextToken(String nextToken)The pagination token that indicates the next set of results to retrieve.ListTransactionsResponse.Buildertransactions(Collection<TransactionOutputItem> transactions)The array of transactions returned by the request.ListTransactionsResponse.Buildertransactions(Consumer<TransactionOutputItem.Builder>... transactions)The array of transactions returned by the request.ListTransactionsResponse.Buildertransactions(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 Detail
-
transactions
ListTransactionsResponse.Builder transactions(Collection<TransactionOutputItem> 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(TransactionOutputItem... 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.Builderavoiding the need to create one manually viaTransactionOutputItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#transactions(List.) - 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:
#transactions(java.util.Collection)
-
nextToken
ListTransactionsResponse.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.
-
-