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 Summary
Modifier and TypeMethodDescriptionThe name of the database to write to.The nodes that are inputs to the data target.inputs
(Collection<String> inputs) The nodes that are inputs to the data target.The name of the data target.redshiftTmpDir
(String redshiftTmpDir) The Amazon S3 path where temporary data can be staged when copying out of the database.The name of the table in the database to write to.tmpDirIAMRole
(String tmpDirIAMRole) The IAM role with permissions.default RedshiftTarget.Builder
upsertRedshiftOptions
(Consumer<UpsertRedshiftTargetOptions.Builder> upsertRedshiftOptions) The set of options to configure an upsert operation when writing to a Redshift target.upsertRedshiftOptions
(UpsertRedshiftTargetOptions upsertRedshiftOptions) The set of options to configure an upsert operation when writing to a Redshift target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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
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 theUpsertRedshiftTargetOptions.Builder
avoiding the need to create one manually viaUpsertRedshiftTargetOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupsertRedshiftOptions(UpsertRedshiftTargetOptions)
.- Parameters:
upsertRedshiftOptions
- a consumer that will call methods onUpsertRedshiftTargetOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-