Interface BatchExecuteStatementResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchExecuteStatementResponse.Builder,BatchExecuteStatementResponse>,DynamoDbResponse.Builder,SdkBuilder<BatchExecuteStatementResponse.Builder,BatchExecuteStatementResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchExecuteStatementResponse
@Mutable @NotThreadSafe public static interface BatchExecuteStatementResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<BatchExecuteStatementResponse.Builder,BatchExecuteStatementResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchExecuteStatementResponse.BuilderconsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)The capacity units consumed by the entire operation.BatchExecuteStatementResponse.BuilderconsumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)The capacity units consumed by the entire operation.BatchExecuteStatementResponse.BuilderconsumedCapacity(ConsumedCapacity... consumedCapacity)The capacity units consumed by the entire operation.BatchExecuteStatementResponse.Builderresponses(Collection<BatchStatementResponse> responses)The response to each PartiQL statement in the batch.BatchExecuteStatementResponse.Builderresponses(Consumer<BatchStatementResponse.Builder>... responses)The response to each PartiQL statement in the batch.BatchExecuteStatementResponse.Builderresponses(BatchStatementResponse... responses)The response to each PartiQL statement in the batch.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
responses
BatchExecuteStatementResponse.Builder responses(Collection<BatchStatementResponse> 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.
- 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.
-
responses
BatchExecuteStatementResponse.Builder responses(BatchStatementResponse... 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.
- 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.
-
responses
BatchExecuteStatementResponse.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 to#responses(List.) - Parameters:
responses- a consumer that will call methods onBatchStatementResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#responses(java.util.Collection)
-
consumedCapacity
BatchExecuteStatementResponse.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.
-
consumedCapacity
BatchExecuteStatementResponse.Builder consumedCapacity(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.
-
consumedCapacity
BatchExecuteStatementResponse.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 to#consumedCapacity(List.) - Parameters:
consumedCapacity- a consumer that will call methods onConsumedCapacity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#consumedCapacity(java.util.Collection)
-
-