Interface RedshiftTarget.Builder

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

public static interface RedshiftTarget.Builder extends SdkPojo, CopyableBuilder<RedshiftTarget.Builder,RedshiftTarget>
  • Method Details

    • name

      The name of the data target.

      Parameters:
      name - The name of the data target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputs

      The nodes that are inputs to the data target.

      Parameters:
      inputs - The nodes that are inputs to the data target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputs

      RedshiftTarget.Builder inputs(String... inputs)

      The nodes that are inputs to the data target.

      Parameters:
      inputs - The nodes that are inputs to the data target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • database

      RedshiftTarget.Builder database(String database)

      The name of the database to write to.

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

      The name of the table in the database to write to.

      Parameters:
      table - The name of the table in the database to write to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • redshiftTmpDir

      RedshiftTarget.Builder redshiftTmpDir(String redshiftTmpDir)

      The Amazon S3 path where temporary data can be staged when copying out of the database.

      Parameters:
      redshiftTmpDir - The Amazon S3 path where temporary data can be staged when copying out of the database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tmpDirIAMRole

      RedshiftTarget.Builder tmpDirIAMRole(String tmpDirIAMRole)

      The IAM role with permissions.

      Parameters:
      tmpDirIAMRole - The IAM role with permissions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upsertRedshiftOptions

      RedshiftTarget.Builder upsertRedshiftOptions(UpsertRedshiftTargetOptions upsertRedshiftOptions)

      The set of options to configure an upsert operation when writing to a Redshift target.

      Parameters:
      upsertRedshiftOptions - The set of options to configure an upsert operation when writing to a Redshift target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • upsertRedshiftOptions

      default RedshiftTarget.Builder upsertRedshiftOptions(Consumer<UpsertRedshiftTargetOptions.Builder> upsertRedshiftOptions)

      The set of options to configure an upsert operation when writing to a Redshift target.

      This is a convenience method that creates an instance of the UpsertRedshiftTargetOptions.Builder avoiding the need to create one manually via UpsertRedshiftTargetOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to upsertRedshiftOptions(UpsertRedshiftTargetOptions).

      Parameters:
      upsertRedshiftOptions - a consumer that will call methods on UpsertRedshiftTargetOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: