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, ifNextToken
was 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
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, 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.Builder
avoiding the need to create one manually viaParameterizedStatement.builder()
.When the
Consumer
completes,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
NextToken
was returned in the statement response.- Parameters:
clientRequestToken
- Set this value to get remaining results, ifNextToken
was 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-