Interface BatchExecuteStatementRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>,RdsDataRequest.Builder,SdkBuilder<BatchExecuteStatementRequest.Builder,BatchExecuteStatementRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchExecuteStatementRequest
public static interface BatchExecuteStatementRequest.Builder extends RdsDataRequest.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.rdsdata.model.RdsDataRequest.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 Detail
-
resourceArn
BatchExecuteStatementRequest.Builder resourceArn(String 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
BatchExecuteStatementRequest.Builder secretArn(String 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
BatchExecuteStatementRequest.Builder sql(String 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
BatchExecuteStatementRequest.Builder database(String 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
BatchExecuteStatementRequest.Builder schema(String 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
BatchExecuteStatementRequest.Builder parameterSets(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.
-
-
transactionId
BatchExecuteStatementRequest.Builder transactionId(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchExecuteStatementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-