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 Details

    • 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

      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 schema parameter isn't supported.

      Parameters:
      schema - The name of the database schema.

      Currently, the schema parameter 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 ExecuteStatement operation instead of the BatchExecuteStatement operation.

      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 ExecuteStatement operation instead of the BatchExecuteStatement operation.

      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 ExecuteStatement operation instead of the BatchExecuteStatement operation.

      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 ExecuteStatement operation instead of the BatchExecuteStatement operation.

      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 BeginTransaction operation. 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 the BeginTransaction operation. 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.