commonMain.aws.sdk.kotlin.services.glue.model.AmazonRedshiftNodeData.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.glue.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Specifies an Amazon Redshift node.
*/
public class AmazonRedshiftNodeData private constructor(builder: Builder) {
/**
* The access type for the Redshift connection. Can be a direct connection or catalog connections.
*/
public val accessType: kotlin.String? = builder.accessType
/**
* Specifies how writing to a Redshift cluser will occur.
*/
public val action: kotlin.String? = builder.action
/**
* Optional values when connecting to the Redshift cluster.
*/
public val advancedOptions: List? = builder.advancedOptions
/**
* The name of the Glue Data Catalog database when working with a data catalog.
*/
public val catalogDatabase: aws.sdk.kotlin.services.glue.model.Option? = builder.catalogDatabase
/**
* The Redshift schema name when working with a data catalog.
*/
public val catalogRedshiftSchema: kotlin.String? = builder.catalogRedshiftSchema
/**
* The database table to read from.
*/
public val catalogRedshiftTable: kotlin.String? = builder.catalogRedshiftTable
/**
* The Glue Data Catalog table name when working with a data catalog.
*/
public val catalogTable: aws.sdk.kotlin.services.glue.model.Option? = builder.catalogTable
/**
* The Glue connection to the Redshift cluster.
*/
public val connection: aws.sdk.kotlin.services.glue.model.Option? = builder.connection
/**
* Specifies the name of the connection that is associated with the catalog table used.
*/
public val crawlerConnection: kotlin.String? = builder.crawlerConnection
/**
* Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.
*/
public val iamRole: aws.sdk.kotlin.services.glue.model.Option? = builder.iamRole
/**
* The action used when to detemine how a MERGE in a Redshift sink will be handled.
*/
public val mergeAction: kotlin.String? = builder.mergeAction
/**
* The SQL used in a custom merge to deal with matching records.
*/
public val mergeClause: kotlin.String? = builder.mergeClause
/**
* The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a new record.
*/
public val mergeWhenMatched: kotlin.String? = builder.mergeWhenMatched
/**
* 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.
*/
public val mergeWhenNotMatched: kotlin.String? = builder.mergeWhenNotMatched
/**
* The SQL used before a MERGE or APPEND with upsert is run.
*/
public val postAction: kotlin.String? = builder.postAction
/**
* The SQL used before a MERGE or APPEND with upsert is run.
*/
public val preAction: kotlin.String? = builder.preAction
/**
* The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.
*/
public val sampleQuery: kotlin.String? = builder.sampleQuery
/**
* The Redshift schema name when working with a direct connection.
*/
public val schema: aws.sdk.kotlin.services.glue.model.Option? = builder.schema
/**
* The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
*/
public val selectedColumns: List