Class ExecuteSqlRequest

    • Method Detail

      • dbClusterOrInstanceArn

        public final String dbClusterOrInstanceArn()

        The ARN of the Aurora Serverless DB cluster.

        Returns:
        The ARN of the Aurora Serverless DB cluster.
      • awsSecretStoreArn

        public final 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.

        Returns:
        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.

      • sqlStatements

        public final 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.

        Returns:
        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.

      • database

        public final String database()

        The name of the database.

        Returns:
        The name of the database.
      • schema

        public final String schema()

        The name of the database schema.

        Returns:
        The name of the database schema.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object