Interface BatchExecuteStatementRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchExecuteStatementRequest.Builder,,BatchExecuteStatementRequest> DynamoDbRequest.Builder,SdkBuilder<BatchExecuteStatementRequest.Builder,,BatchExecuteStatementRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchExecuteStatementRequest
public static interface BatchExecuteStatementRequest.Builder
extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.returnConsumedCapacity(String returnConsumedCapacity) Sets the value of the ReturnConsumedCapacity property for this object.returnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) Sets the value of the ReturnConsumedCapacity property for this object.statements(Collection<BatchStatementRequest> statements) The list of PartiQL statements representing the batch to run.statements(Consumer<BatchStatementRequest.Builder>... statements) The list of PartiQL statements representing the batch to run.statements(BatchStatementRequest... statements) The list of PartiQL statements representing the batch to run.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
statements
The list of PartiQL statements representing the batch to run.
- Parameters:
statements- The list of PartiQL statements representing the batch to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statements
The list of PartiQL statements representing the batch to run.
- Parameters:
statements- The list of PartiQL statements representing the batch to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statements
BatchExecuteStatementRequest.Builder statements(Consumer<BatchStatementRequest.Builder>... statements) The list of PartiQL statements representing the batch to run.
This is a convenience method that creates an instance of theBatchStatementRequest.Builderavoiding the need to create one manually viaBatchStatementRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatements(List<BatchStatementRequest>).- Parameters:
statements- a consumer that will call methods onBatchStatementRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnConsumedCapacity
Sets the value of the ReturnConsumedCapacity property for this object.- Parameters:
returnConsumedCapacity- The new value for the ReturnConsumedCapacity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnConsumedCapacity
BatchExecuteStatementRequest.Builder returnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) Sets the value of the ReturnConsumedCapacity property for this object.- Parameters:
returnConsumedCapacity- The new value for the ReturnConsumedCapacity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchExecuteStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchExecuteStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-