Interface ExecuteTransactionRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<ExecuteTransactionRequest.Builder,,ExecuteTransactionRequest> DynamoDbRequest.Builder,SdkBuilder<ExecuteTransactionRequest.Builder,,ExecuteTransactionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 ExecuteTransactionRequest
- 
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Set this value to get remaining results, ifNextTokenwas returned in the statement response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.returnConsumedCapacity(String returnConsumedCapacity) Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response.returnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response.transactStatements(Collection<ParameterizedStatement> transactStatements) The list of PartiQL statements representing the transaction to run.transactStatements(Consumer<ParameterizedStatement.Builder>... transactStatements) The list of PartiQL statements representing the transaction to run.transactStatements(ParameterizedStatement... transactStatements) The list of PartiQL statements representing the transaction 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
- 
transactStatements
ExecuteTransactionRequest.Builder transactStatements(Collection<ParameterizedStatement> transactStatements) The list of PartiQL statements representing the transaction to run.
- Parameters:
 transactStatements- The list of PartiQL statements representing the transaction to run.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
transactStatements
The list of PartiQL statements representing the transaction to run.
- Parameters:
 transactStatements- The list of PartiQL statements representing the transaction to run.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
transactStatements
ExecuteTransactionRequest.Builder transactStatements(Consumer<ParameterizedStatement.Builder>... transactStatements) The list of PartiQL statements representing the transaction to run.
This is a convenience method that creates an instance of theParameterizedStatement.Builderavoiding the need to create one manually viaParameterizedStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransactStatements(List<ParameterizedStatement>).- Parameters:
 transactStatements- a consumer that will call methods onParameterizedStatement.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
clientRequestToken
Set this value to get remaining results, if
NextTokenwas returned in the statement response.- Parameters:
 clientRequestToken- Set this value to get remaining results, ifNextTokenwas returned in the statement response.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
returnConsumedCapacity
Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems.
- Parameters:
 returnConsumedCapacity- Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
returnConsumedCapacity
ExecuteTransactionRequest.Builder returnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems.
- Parameters:
 returnConsumedCapacity- Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
overrideConfiguration
ExecuteTransactionRequest.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
ExecuteTransactionRequest.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.
 
 
 -