Interface RedshiftDataParameters.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RedshiftDataParameters.Builder,RedshiftDataParameters>, SdkBuilder<RedshiftDataParameters.Builder,RedshiftDataParameters>, SdkPojo
Enclosing class:
RedshiftDataParameters

public static interface RedshiftDataParameters.Builder extends SdkPojo, CopyableBuilder<RedshiftDataParameters.Builder,RedshiftDataParameters>
  • 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.
    • sqls

      One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.

      Parameters:
      sqls - One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sqls

      One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.

      Parameters:
      sqls - One or more SQL statements to run. The SQL statements are run as a single transaction. They run serially in the order of the array. Subsequent SQL statements don't start until the previous statement in the array completes. If any SQL statement fails, then because they are run as one transaction, all work is rolled back.
      Returns:
      Returns a reference to this object so that method calls can be chained together.