Interface RedshiftDataParameters.Builder

  • Method Details

    • secretManagerArn

      RedshiftDataParameters.Builder secretManagerArn(String secretManagerArn)

      The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.

      Parameters:
      secretManagerArn - The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      The name of the database. Required when authenticating using temporary credentials.

      Parameters:
      database - The name of the database. Required when authenticating using temporary credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbUser

      The database user name. Required when authenticating using temporary credentials.

      Parameters:
      dbUser - The database user name. Required when authenticating using temporary credentials.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sql

      The SQL statement text to run.

      Parameters:
      sql - The SQL statement text to run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statementName

      RedshiftDataParameters.Builder statementName(String statementName)

      The name of the SQL statement. You can name the SQL statement when you create it to identify the query.

      Parameters:
      statementName - The name of the SQL statement. You can name the SQL statement when you create it to identify the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withEvent

      Indicates whether to send an event back to EventBridge after the SQL statement runs.

      Parameters:
      withEvent - Indicates whether to send an event back to EventBridge after the SQL statement runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.