Interface BatchExecuteStatementRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchExecuteStatementRequest.Builder,,BatchExecuteStatementRequest> RdsDataRequest.Builder,SdkBuilder<BatchExecuteStatementRequest.Builder,,BatchExecuteStatementRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchExecuteStatementRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the database.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameterSets(Collection<? extends Collection<SqlParameter>> parameterSets) The parameter set for the batch operation.parameterSets(Collection<SqlParameter>... parameterSets) The parameter set for the batch operation.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.The name of the database schema.The ARN of the secret that enables access to the DB cluster.The SQL statement to run.transactionId(String transactionId) The identifier of a transaction that was started by using theBeginTransactionoperation.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.rdsdata.model.RdsDataRequest.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
-
resourceArn
The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
- Parameters:
secretArn- The ARN of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.For information about creating the secret, see Create a database secret.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sql
The SQL statement to run. Don't include a semicolon (;) at the end of the SQL statement.
- Parameters:
sql- The SQL statement to run. Don't include a semicolon (;) at the end of the SQL statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The name of the database.
- Parameters:
database- The name of the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The name of the database schema.
Currently, the
schemaparameter isn't supported.- Parameters:
schema- The name of the database schema.Currently, the
schemaparameter isn't supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterSets
BatchExecuteStatementRequest.Builder parameterSets(Collection<? extends Collection<SqlParameter>> parameterSets) The parameter set for the batch operation.
The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options:
-
Specify one or more empty parameter sets.
-
Use the
ExecuteStatementoperation instead of theBatchExecuteStatementoperation.
Array parameters are not supported.
- Parameters:
parameterSets- The parameter set for the batch operation.The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options:
-
Specify one or more empty parameter sets.
-
Use the
ExecuteStatementoperation instead of theBatchExecuteStatementoperation.
Array parameters are not supported.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
parameterSets
The parameter set for the batch operation.
The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options:
-
Specify one or more empty parameter sets.
-
Use the
ExecuteStatementoperation instead of theBatchExecuteStatementoperation.
Array parameters are not supported.
- Parameters:
parameterSets- The parameter set for the batch operation.The SQL statement is executed as many times as the number of parameter sets provided. To execute a SQL statement with no parameters, use one of the following options:
-
Specify one or more empty parameter sets.
-
Use the
ExecuteStatementoperation instead of theBatchExecuteStatementoperation.
Array parameters are not supported.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
transactionId
The identifier of a transaction that was started by using the
BeginTransactionoperation. Specify the transaction ID of the transaction that you want to include the SQL statement in.If the SQL statement is not part of a transaction, don't set this parameter.
- Parameters:
transactionId- The identifier of a transaction that was started by using theBeginTransactionoperation. Specify the transaction ID of the transaction that you want to include the SQL statement in.If the SQL statement is not part of a transaction, don't set this parameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-