Interface ExecuteSqlRequest.Builder

    • Method Detail

      • dbClusterOrInstanceArn

        ExecuteSqlRequest.Builder dbClusterOrInstanceArn​(String dbClusterOrInstanceArn)

        The ARN of the Aurora Serverless DB cluster.

        Parameters:
        dbClusterOrInstanceArn - The ARN of the Aurora Serverless DB cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • awsSecretStoreArn

        ExecuteSqlRequest.Builder awsSecretStoreArn​(String awsSecretStoreArn)

        The Amazon Resource Name (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:
        awsSecretStoreArn - The Amazon Resource Name (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.
      • sqlStatements

        ExecuteSqlRequest.Builder sqlStatements​(String sqlStatements)

        One or more SQL statements to run on the DB cluster.

        You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.

        Parameters:
        sqlStatements - One or more SQL statements to run on the DB cluster.

        You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • database

        ExecuteSqlRequest.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

        ExecuteSqlRequest.Builder schema​(String schema)

        The name of the database schema.

        Parameters:
        schema - The name of the database schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.