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 ofBatchGetTokenBalanceErrorItemobjects returned from the request.errors(Consumer<BatchGetTokenBalanceErrorItem.Builder>... errors) An array ofBatchGetTokenBalanceErrorItemobjects returned from the request.errors(BatchGetTokenBalanceErrorItem... errors) An array ofBatchGetTokenBalanceErrorItemobjects returned from the request.tokenBalances(Collection<BatchGetTokenBalanceOutputItem> tokenBalances) An array ofBatchGetTokenBalanceOutputItemobjects returned by the response.tokenBalances(Consumer<BatchGetTokenBalanceOutputItem.Builder>... tokenBalances) An array ofBatchGetTokenBalanceOutputItemobjects returned by the response.tokenBalances(BatchGetTokenBalanceOutputItem... tokenBalances) An array ofBatchGetTokenBalanceOutputItemobjects returned by the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
tokenBalances
BatchGetTokenBalanceResponse.Builder tokenBalances(Collection<BatchGetTokenBalanceOutputItem> tokenBalances) An array of
BatchGetTokenBalanceOutputItemobjects returned by the response.- Parameters:
tokenBalances- An array ofBatchGetTokenBalanceOutputItemobjects returned by the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokenBalances
An array of
BatchGetTokenBalanceOutputItemobjects returned by the response.- Parameters:
tokenBalances- An array ofBatchGetTokenBalanceOutputItemobjects 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 theBatchGetTokenBalanceOutputItemobjects returned by the response.BatchGetTokenBalanceOutputItem.Builderavoiding the need to create one manually viaBatchGetTokenBalanceOutputItem.builder().When the
Consumercompletes,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
BatchGetTokenBalanceErrorItemobjects returned from the request.- Parameters:
errors- An array ofBatchGetTokenBalanceErrorItemobjects returned from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
An array of
BatchGetTokenBalanceErrorItemobjects returned from the request.- Parameters:
errors- An array ofBatchGetTokenBalanceErrorItemobjects 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 theBatchGetTokenBalanceErrorItemobjects returned from the request.BatchGetTokenBalanceErrorItem.Builderavoiding the need to create one manually viaBatchGetTokenBalanceErrorItem.builder().When the
Consumercompletes,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:
-