Interface BatchExecuteStatementResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<BatchExecuteStatementResponse.Builder,,- BatchExecuteStatementResponse> - DynamoDbResponse.Builder,- SdkBuilder<BatchExecuteStatementResponse.Builder,,- BatchExecuteStatementResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- BatchExecuteStatementResponse
- 
Method SummaryModifier and TypeMethodDescriptionconsumedCapacity(Collection<ConsumedCapacity> consumedCapacity) The capacity units consumed by the entire operation.consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity) The capacity units consumed by the entire operation.consumedCapacity(ConsumedCapacity... consumedCapacity) The capacity units consumed by the entire operation.responses(Collection<BatchStatementResponse> responses) The response to each PartiQL statement in the batch.responses(Consumer<BatchStatementResponse.Builder>... responses) The response to each PartiQL statement in the batch.responses(BatchStatementResponse... responses) The response to each PartiQL statement in the batch.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
responsesThe response to each PartiQL statement in the batch. The values of the list are ordered according to the ordering of the request statements. - Parameters:
- responses- The response to each PartiQL statement in the batch. The values of the list are ordered according to the ordering of the request statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
responsesThe response to each PartiQL statement in the batch. The values of the list are ordered according to the ordering of the request statements. - Parameters:
- responses- The response to each PartiQL statement in the batch. The values of the list are ordered according to the ordering of the request statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
responsesBatchExecuteStatementResponse.Builder responses(Consumer<BatchStatementResponse.Builder>... responses) The response to each PartiQL statement in the batch. The values of the list are ordered according to the ordering of the request statements. This is a convenience method that creates an instance of theBatchStatementResponse.Builderavoiding the need to create one manually viaBatchStatementResponse.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresponses(List<BatchStatementResponse>).- Parameters:
- responses- a consumer that will call methods on- BatchStatementResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
consumedCapacityBatchExecuteStatementResponse.Builder consumedCapacity(Collection<ConsumedCapacity> consumedCapacity) The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements. - Parameters:
- consumedCapacity- The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
consumedCapacityThe capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements. - Parameters:
- consumedCapacity- The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
consumedCapacityBatchExecuteStatementResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity) The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements. This is a convenience method that creates an instance of theConsumedCapacity.Builderavoiding the need to create one manually viaConsumedCapacity.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsumedCapacity(List<ConsumedCapacity>).- Parameters:
- consumedCapacity- a consumer that will call methods on- ConsumedCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-