public static interface AmazonRedshiftNodeData.Builder extends SdkPojo, CopyableBuilder<AmazonRedshiftNodeData.Builder,AmazonRedshiftNodeData>
| Modifier and Type | Method and Description |
|---|---|
AmazonRedshiftNodeData.Builder |
accessType(String accessType)
The access type for the Redshift connection.
|
AmazonRedshiftNodeData.Builder |
action(String action)
Specifies how writing to a Redshift cluser will occur.
|
AmazonRedshiftNodeData.Builder |
advancedOptions(AmazonRedshiftAdvancedOption... advancedOptions)
Optional values when connecting to the Redshift cluster.
|
AmazonRedshiftNodeData.Builder |
advancedOptions(Collection<AmazonRedshiftAdvancedOption> advancedOptions)
Optional values when connecting to the Redshift cluster.
|
AmazonRedshiftNodeData.Builder |
advancedOptions(Consumer<AmazonRedshiftAdvancedOption.Builder>... advancedOptions)
Optional values when connecting to the Redshift cluster.
|
default AmazonRedshiftNodeData.Builder |
catalogDatabase(Consumer<Option.Builder> catalogDatabase)
The name of the Glue Data Catalog database when working with a data catalog.
|
AmazonRedshiftNodeData.Builder |
catalogDatabase(Option catalogDatabase)
The name of the Glue Data Catalog database when working with a data catalog.
|
AmazonRedshiftNodeData.Builder |
catalogRedshiftSchema(String catalogRedshiftSchema)
The Redshift schema name when working with a data catalog.
|
AmazonRedshiftNodeData.Builder |
catalogRedshiftTable(String catalogRedshiftTable)
The database table to read from.
|
default AmazonRedshiftNodeData.Builder |
catalogTable(Consumer<Option.Builder> catalogTable)
The Glue Data Catalog table name when working with a data catalog.
|
AmazonRedshiftNodeData.Builder |
catalogTable(Option catalogTable)
The Glue Data Catalog table name when working with a data catalog.
|
default AmazonRedshiftNodeData.Builder |
connection(Consumer<Option.Builder> connection)
The Glue connection to the Redshift cluster.
|
AmazonRedshiftNodeData.Builder |
connection(Option connection)
The Glue connection to the Redshift cluster.
|
AmazonRedshiftNodeData.Builder |
crawlerConnection(String crawlerConnection)
Specifies the name of the connection that is associated with the catalog table used.
|
default AmazonRedshiftNodeData.Builder |
iamRole(Consumer<Option.Builder> iamRole)
Optional.
|
AmazonRedshiftNodeData.Builder |
iamRole(Option iamRole)
Optional.
|
AmazonRedshiftNodeData.Builder |
mergeAction(String mergeAction)
The action used when to detemine how a MERGE in a Redshift sink will be handled.
|
AmazonRedshiftNodeData.Builder |
mergeClause(String mergeClause)
The SQL used in a custom merge to deal with matching records.
|
AmazonRedshiftNodeData.Builder |
mergeWhenMatched(String mergeWhenMatched)
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record
matches a new record.
|
AmazonRedshiftNodeData.Builder |
mergeWhenNotMatched(String mergeWhenNotMatched)
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record
doesn't match a new record.
|
AmazonRedshiftNodeData.Builder |
postAction(String postAction)
The SQL used before a MERGE or APPEND with upsert is run.
|
AmazonRedshiftNodeData.Builder |
preAction(String preAction)
The SQL used before a MERGE or APPEND with upsert is run.
|
AmazonRedshiftNodeData.Builder |
sampleQuery(String sampleQuery)
The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.
|
default AmazonRedshiftNodeData.Builder |
schema(Consumer<Option.Builder> schema)
The Redshift schema name when working with a direct connection.
|
AmazonRedshiftNodeData.Builder |
schema(Option schema)
The Redshift schema name when working with a direct connection.
|
AmazonRedshiftNodeData.Builder |
selectedColumns(Collection<Option> selectedColumns)
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
|
AmazonRedshiftNodeData.Builder |
selectedColumns(Consumer<Option.Builder>... selectedColumns)
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
|
AmazonRedshiftNodeData.Builder |
selectedColumns(Option... selectedColumns)
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
|
AmazonRedshiftNodeData.Builder |
sourceType(String sourceType)
The source type to specify whether a specific table is the source or a custom query.
|
AmazonRedshiftNodeData.Builder |
stagingTable(String stagingTable)
The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.
|
default AmazonRedshiftNodeData.Builder |
table(Consumer<Option.Builder> table)
The Redshift table name when working with a direct connection.
|
AmazonRedshiftNodeData.Builder |
table(Option table)
The Redshift table name when working with a direct connection.
|
AmazonRedshiftNodeData.Builder |
tablePrefix(String tablePrefix)
Specifies the prefix to a table.
|
AmazonRedshiftNodeData.Builder |
tableSchema(Collection<Option> tableSchema)
The array of schema output for a given node.
|
AmazonRedshiftNodeData.Builder |
tableSchema(Consumer<Option.Builder>... tableSchema)
The array of schema output for a given node.
|
AmazonRedshiftNodeData.Builder |
tableSchema(Option... tableSchema)
The array of schema output for a given node.
|
AmazonRedshiftNodeData.Builder |
tempDir(String tempDir)
The Amazon S3 path where temporary data can be staged when copying out of the database.
|
AmazonRedshiftNodeData.Builder |
upsert(Boolean upsert)
The action used on Redshift sinks when doing an APPEND.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAmazonRedshiftNodeData.Builder accessType(String accessType)
The access type for the Redshift connection. Can be a direct connection or catalog connections.
accessType - The access type for the Redshift connection. Can be a direct connection or catalog connections.AmazonRedshiftNodeData.Builder sourceType(String sourceType)
The source type to specify whether a specific table is the source or a custom query.
sourceType - The source type to specify whether a specific table is the source or a custom query.AmazonRedshiftNodeData.Builder connection(Option connection)
The Glue connection to the Redshift cluster.
connection - The Glue connection to the Redshift cluster.default AmazonRedshiftNodeData.Builder connection(Consumer<Option.Builder> connection)
The Glue connection to the Redshift cluster.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to
create one manually via Option.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to connection(Option).
connection - a consumer that will call methods on Option.Builderconnection(Option)AmazonRedshiftNodeData.Builder schema(Option schema)
The Redshift schema name when working with a direct connection.
schema - The Redshift schema name when working with a direct connection.default AmazonRedshiftNodeData.Builder schema(Consumer<Option.Builder> schema)
The Redshift schema name when working with a direct connection.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to
create one manually via Option.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to schema(Option).
schema - a consumer that will call methods on Option.Builderschema(Option)AmazonRedshiftNodeData.Builder table(Option table)
The Redshift table name when working with a direct connection.
table - The Redshift table name when working with a direct connection.default AmazonRedshiftNodeData.Builder table(Consumer<Option.Builder> table)
The Redshift table name when working with a direct connection.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to
create one manually via Option.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to table(Option).
table - a consumer that will call methods on Option.Buildertable(Option)AmazonRedshiftNodeData.Builder catalogDatabase(Option catalogDatabase)
The name of the Glue Data Catalog database when working with a data catalog.
catalogDatabase - The name of the Glue Data Catalog database when working with a data catalog.default AmazonRedshiftNodeData.Builder catalogDatabase(Consumer<Option.Builder> catalogDatabase)
The name of the Glue Data Catalog database when working with a data catalog.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to
create one manually via Option.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to catalogDatabase(Option).
catalogDatabase - a consumer that will call methods on Option.BuildercatalogDatabase(Option)AmazonRedshiftNodeData.Builder catalogTable(Option catalogTable)
The Glue Data Catalog table name when working with a data catalog.
catalogTable - The Glue Data Catalog table name when working with a data catalog.default AmazonRedshiftNodeData.Builder catalogTable(Consumer<Option.Builder> catalogTable)
The Glue Data Catalog table name when working with a data catalog.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to
create one manually via Option.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to catalogTable(Option).
catalogTable - a consumer that will call methods on Option.BuildercatalogTable(Option)AmazonRedshiftNodeData.Builder catalogRedshiftSchema(String catalogRedshiftSchema)
The Redshift schema name when working with a data catalog.
catalogRedshiftSchema - The Redshift schema name when working with a data catalog.AmazonRedshiftNodeData.Builder catalogRedshiftTable(String catalogRedshiftTable)
The database table to read from.
catalogRedshiftTable - The database table to read from.AmazonRedshiftNodeData.Builder tempDir(String tempDir)
The Amazon S3 path where temporary data can be staged when copying out of the database.
tempDir - The Amazon S3 path where temporary data can be staged when copying out of the database.AmazonRedshiftNodeData.Builder iamRole(Option iamRole)
Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.
iamRole - Optional. The role name use when connection to S3. The IAM role ill default to the role on the job
when left blank.default AmazonRedshiftNodeData.Builder iamRole(Consumer<Option.Builder> iamRole)
Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to
create one manually via Option.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to iamRole(Option).
iamRole - a consumer that will call methods on Option.BuilderiamRole(Option)AmazonRedshiftNodeData.Builder advancedOptions(Collection<AmazonRedshiftAdvancedOption> advancedOptions)
Optional values when connecting to the Redshift cluster.
advancedOptions - Optional values when connecting to the Redshift cluster.AmazonRedshiftNodeData.Builder advancedOptions(AmazonRedshiftAdvancedOption... advancedOptions)
Optional values when connecting to the Redshift cluster.
advancedOptions - Optional values when connecting to the Redshift cluster.AmazonRedshiftNodeData.Builder advancedOptions(Consumer<AmazonRedshiftAdvancedOption.Builder>... advancedOptions)
Optional values when connecting to the Redshift cluster.
This is a convenience method that creates an instance of theAmazonRedshiftAdvancedOption.Builder avoiding the need to
create one manually via
AmazonRedshiftAdvancedOption.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #advancedOptions(List.
advancedOptions - a consumer that will call methods on
AmazonRedshiftAdvancedOption.Builder#advancedOptions(java.util.Collection) AmazonRedshiftNodeData.Builder sampleQuery(String sampleQuery)
The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.
sampleQuery - The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.AmazonRedshiftNodeData.Builder preAction(String preAction)
The SQL used before a MERGE or APPEND with upsert is run.
preAction - The SQL used before a MERGE or APPEND with upsert is run.AmazonRedshiftNodeData.Builder postAction(String postAction)
The SQL used before a MERGE or APPEND with upsert is run.
postAction - The SQL used before a MERGE or APPEND with upsert is run.AmazonRedshiftNodeData.Builder action(String action)
Specifies how writing to a Redshift cluser will occur.
action - Specifies how writing to a Redshift cluser will occur.AmazonRedshiftNodeData.Builder tablePrefix(String tablePrefix)
Specifies the prefix to a table.
tablePrefix - Specifies the prefix to a table.AmazonRedshiftNodeData.Builder upsert(Boolean upsert)
The action used on Redshift sinks when doing an APPEND.
upsert - The action used on Redshift sinks when doing an APPEND.AmazonRedshiftNodeData.Builder mergeAction(String mergeAction)
The action used when to detemine how a MERGE in a Redshift sink will be handled.
mergeAction - The action used when to detemine how a MERGE in a Redshift sink will be handled.AmazonRedshiftNodeData.Builder mergeWhenMatched(String mergeWhenMatched)
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a new record.
mergeWhenMatched - The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing
record matches a new record.AmazonRedshiftNodeData.Builder mergeWhenNotMatched(String mergeWhenNotMatched)
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record doesn't match a new record.
mergeWhenNotMatched - The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing
record doesn't match a new record.AmazonRedshiftNodeData.Builder mergeClause(String mergeClause)
The SQL used in a custom merge to deal with matching records.
mergeClause - The SQL used in a custom merge to deal with matching records.AmazonRedshiftNodeData.Builder crawlerConnection(String crawlerConnection)
Specifies the name of the connection that is associated with the catalog table used.
crawlerConnection - Specifies the name of the connection that is associated with the catalog table used.AmazonRedshiftNodeData.Builder tableSchema(Collection<Option> tableSchema)
The array of schema output for a given node.
tableSchema - The array of schema output for a given node.AmazonRedshiftNodeData.Builder tableSchema(Option... tableSchema)
The array of schema output for a given node.
tableSchema - The array of schema output for a given node.AmazonRedshiftNodeData.Builder tableSchema(Consumer<Option.Builder>... tableSchema)
The array of schema output for a given node.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to create one manually
via Option.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tableSchema(List.
tableSchema - a consumer that will call methods on Option.Builder#tableSchema(java.util.CollectionAmazonRedshiftNodeData.Builder stagingTable(String stagingTable)
The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.
stagingTable - The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.AmazonRedshiftNodeData.Builder selectedColumns(Collection<Option> selectedColumns)
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
selectedColumns - The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.AmazonRedshiftNodeData.Builder selectedColumns(Option... selectedColumns)
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
selectedColumns - The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.AmazonRedshiftNodeData.Builder selectedColumns(Consumer<Option.Builder>... selectedColumns)
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to create one manually
via Option.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #selectedColumns(List.
selectedColumns - a consumer that will call methods on Option.Builder#selectedColumns(java.util.CollectionCopyright © 2023. All rights reserved.