All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.glue.model.SnowflakeNodeData.kt Maven / Gradle / Ivy

There is a newer version: 1.3.76
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.glue.model

import aws.smithy.kotlin.runtime.SdkDsl

/**
 * Specifies configuration for Snowflake nodes in Glue Studio.
 */
public class SnowflakeNodeData private constructor(builder: Builder) {
    /**
     * Specifies what action to take when writing to a table with preexisting data. Valid values: ` append`, `merge`, `truncate`, `drop`.
     */
    public val action: kotlin.String? = builder.action
    /**
     * Specifies additional options passed to the Snowflake connector. If options are specified elsewhere in this node, this will take precedence.
     */
    public val additionalOptions: Map? = builder.additionalOptions
    /**
     * Specifies whether automatic query pushdown is enabled. If pushdown is enabled, then when a query is run on Spark, if part of the query can be "pushed down" to the Snowflake server, it is pushed down. This improves performance of some queries.
     */
    public val autoPushdown: kotlin.Boolean = builder.autoPushdown
    /**
     * Specifies a Glue Data Catalog Connection to a Snowflake endpoint.
     */
    public val connection: aws.sdk.kotlin.services.glue.model.Option? = builder.connection
    /**
     * Specifies a Snowflake database for your node to use.
     */
    public val database: kotlin.String? = builder.database
    /**
     * Not currently used.
     */
    public val iamRole: aws.sdk.kotlin.services.glue.model.Option? = builder.iamRole
    /**
     * Specifies a merge action. Valid values: `simple`, `custom`. If simple, merge behavior is defined by `MergeWhenMatched` and ` MergeWhenNotMatched`. If custom, defined by `MergeClause`.
     */
    public val mergeAction: kotlin.String? = builder.mergeAction
    /**
     * A SQL statement that specifies a custom merge behavior.
     */
    public val mergeClause: kotlin.String? = builder.mergeClause
    /**
     * Specifies how to resolve records that match preexisting data when merging. Valid values: ` update`, `delete`.
     */
    public val mergeWhenMatched: kotlin.String? = builder.mergeWhenMatched
    /**
     * Specifies how to process records that do not match preexisting data when merging. Valid values: `insert`, `none`.
     */
    public val mergeWhenNotMatched: kotlin.String? = builder.mergeWhenNotMatched
    /**
     * A SQL string run after the Snowflake connector performs its standard actions.
     */
    public val postAction: kotlin.String? = builder.postAction
    /**
     * A SQL string run before the Snowflake connector performs its standard actions.
     */
    public val preAction: kotlin.String? = builder.preAction
    /**
     * A SQL string used to retrieve data with the `query` sourcetype.
     */
    public val sampleQuery: kotlin.String? = builder.sampleQuery
    /**
     * Specifies a Snowflake database schema for your node to use.
     */
    public val schema: kotlin.String? = builder.schema
    /**
     * Specifies the columns combined to identify a record when detecting matches for merges and upserts. A list of structures with `value`, `label` and ` description` keys. Each structure describes a column.
     */
    public val selectedColumns: List




© 2015 - 2024 Weber Informatics LLC | Privacy Policy