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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RedshiftTarget.Builderdatabase(String database)The name of the database to write to.RedshiftTarget.Builderinputs(String... inputs)The nodes that are inputs to the data target.RedshiftTarget.Builderinputs(Collection<String> inputs)The nodes that are inputs to the data target.RedshiftTarget.Buildername(String name)The name of the data target.RedshiftTarget.BuilderredshiftTmpDir(String redshiftTmpDir)The Amazon S3 path where temporary data can be staged when copying out of the database.RedshiftTarget.Buildertable(String table)The name of the table in the database to write to.RedshiftTarget.BuildertmpDirIAMRole(String tmpDirIAMRole)The IAM role with permissions.default RedshiftTarget.BuilderupsertRedshiftOptions(Consumer<UpsertRedshiftTargetOptions.Builder> upsertRedshiftOptions)The set of options to configure an upsert operation when writing to a Redshift target.RedshiftTarget.BuilderupsertRedshiftOptions(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 Detail
-
name
RedshiftTarget.Builder name(String 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
RedshiftTarget.Builder inputs(Collection<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.
-
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
RedshiftTarget.Builder table(String 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 theUpsertRedshiftTargetOptions.Builderavoiding the need to create one manually viaUpsertRedshiftTargetOptions.builder().When the
Consumercompletes,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:
upsertRedshiftOptions(UpsertRedshiftTargetOptions)
-
-