Interface BatchGetTokenBalanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetTokenBalanceResponse.Builder,
,BatchGetTokenBalanceResponse> ManagedBlockchainQueryResponse.Builder
,SdkBuilder<BatchGetTokenBalanceResponse.Builder,
,BatchGetTokenBalanceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetTokenBalanceResponse
-
Method Summary
Modifier and TypeMethodDescriptionAn array ofBatchGetTokenBalanceErrorItem
objects returned from the request.errors
(Consumer<BatchGetTokenBalanceErrorItem.Builder>... errors) An array ofBatchGetTokenBalanceErrorItem
objects returned from the request.errors
(BatchGetTokenBalanceErrorItem... errors) An array ofBatchGetTokenBalanceErrorItem
objects returned from the request.tokenBalances
(Collection<BatchGetTokenBalanceOutputItem> tokenBalances) An array ofBatchGetTokenBalanceOutputItem
objects returned by the response.tokenBalances
(Consumer<BatchGetTokenBalanceOutputItem.Builder>... tokenBalances) An array ofBatchGetTokenBalanceOutputItem
objects returned by the response.tokenBalances
(BatchGetTokenBalanceOutputItem... tokenBalances) An array ofBatchGetTokenBalanceOutputItem
objects returned by the response.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
-
tokenBalances
BatchGetTokenBalanceResponse.Builder tokenBalances(Collection<BatchGetTokenBalanceOutputItem> tokenBalances) An array of
BatchGetTokenBalanceOutputItem
objects returned by the response.- Parameters:
tokenBalances
- An array ofBatchGetTokenBalanceOutputItem
objects returned by the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenBalances
An array of
BatchGetTokenBalanceOutputItem
objects returned by the response.- Parameters:
tokenBalances
- An array ofBatchGetTokenBalanceOutputItem
objects returned by the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenBalances
BatchGetTokenBalanceResponse.Builder tokenBalances(Consumer<BatchGetTokenBalanceOutputItem.Builder>... tokenBalances) An array of
This is a convenience method that creates an instance of theBatchGetTokenBalanceOutputItem
objects returned by the response.BatchGetTokenBalanceOutputItem.Builder
avoiding the need to create one manually viaBatchGetTokenBalanceOutputItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totokenBalances(List<BatchGetTokenBalanceOutputItem>)
.- Parameters:
tokenBalances
- a consumer that will call methods onBatchGetTokenBalanceOutputItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
An array of
BatchGetTokenBalanceErrorItem
objects returned from the request.- Parameters:
errors
- An array ofBatchGetTokenBalanceErrorItem
objects returned from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
An array of
BatchGetTokenBalanceErrorItem
objects returned from the request.- Parameters:
errors
- An array ofBatchGetTokenBalanceErrorItem
objects returned from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetTokenBalanceResponse.Builder errors(Consumer<BatchGetTokenBalanceErrorItem.Builder>... errors) An array of
This is a convenience method that creates an instance of theBatchGetTokenBalanceErrorItem
objects returned from the request.BatchGetTokenBalanceErrorItem.Builder
avoiding the need to create one manually viaBatchGetTokenBalanceErrorItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchGetTokenBalanceErrorItem>)
.- Parameters:
errors
- a consumer that will call methods onBatchGetTokenBalanceErrorItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-