Interface BatchExecuteStatementRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>,DynamoDbRequest.Builder,SdkBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchExecuteStatementRequest
@Mutable @NotThreadSafe public static interface BatchExecuteStatementRequest.Builder extends DynamoDbRequest.Builder, SdkPojo, CopyableBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
statements
BatchExecuteStatementRequest.Builder statements(Collection<BatchStatementRequest> 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(BatchStatementRequest... 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 to#statements(List.) - 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:
#statements(java.util.Collection)
-
returnConsumedCapacity
BatchExecuteStatementRequest.Builder returnConsumedCapacity(String 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,ReturnConsumedCapacity
-
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:
ReturnConsumedCapacity,ReturnConsumedCapacity
-
overrideConfiguration
BatchExecuteStatementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchExecuteStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-