Interface BatchGetTokenBalanceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetTokenBalanceResponse.Builder,BatchGetTokenBalanceResponse>,ManagedBlockchainQueryResponse.Builder,SdkBuilder<BatchGetTokenBalanceResponse.Builder,BatchGetTokenBalanceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetTokenBalanceResponse
public static interface BatchGetTokenBalanceResponse.Builder extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<BatchGetTokenBalanceResponse.Builder,BatchGetTokenBalanceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetTokenBalanceResponse.Buildererrors(Collection<BatchGetTokenBalanceErrorItem> errors)An array ofBatchGetTokenBalanceErrorItemobjects returned from the request.BatchGetTokenBalanceResponse.Buildererrors(Consumer<BatchGetTokenBalanceErrorItem.Builder>... errors)An array ofBatchGetTokenBalanceErrorItemobjects returned from the request.BatchGetTokenBalanceResponse.Buildererrors(BatchGetTokenBalanceErrorItem... errors)An array ofBatchGetTokenBalanceErrorItemobjects returned from the request.BatchGetTokenBalanceResponse.BuildertokenBalances(Collection<BatchGetTokenBalanceOutputItem> tokenBalances)An array ofBatchGetTokenBalanceOutputItemobjects returned by the response.BatchGetTokenBalanceResponse.BuildertokenBalances(Consumer<BatchGetTokenBalanceOutputItem.Builder>... tokenBalances)An array ofBatchGetTokenBalanceOutputItemobjects returned by the response.BatchGetTokenBalanceResponse.BuildertokenBalances(BatchGetTokenBalanceOutputItem... tokenBalances)An array ofBatchGetTokenBalanceOutputItemobjects 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 Detail
-
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
BatchGetTokenBalanceResponse.Builder tokenBalances(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
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 to#tokenBalances(List.) - 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:
#tokenBalances(java.util.Collection)
-
errors
BatchGetTokenBalanceResponse.Builder errors(Collection<BatchGetTokenBalanceErrorItem> 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(BatchGetTokenBalanceErrorItem... 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 to#errors(List.) - 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:
#errors(java.util.Collection)
-
-