Interface PipeTargetRedshiftDataParameters.Builder

    • Method Detail

      • database

        PipeTargetRedshiftDataParameters.Builder database​(String 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

        PipeTargetRedshiftDataParameters.Builder dbUser​(String 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.
      • secretManagerArn

        PipeTargetRedshiftDataParameters.Builder secretManagerArn​(String secretManagerArn)

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

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

        PipeTargetRedshiftDataParameters.Builder sqls​(String... sqls)

        The SQL statement text to run.

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

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

        PipeTargetRedshiftDataParameters.Builder withEvent​(Boolean 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.