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

com.pulumi.gcp.datastream.kotlin.inputs.StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.datastream.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.datastream.inputs.StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property column Column name.
 * @property dataType The SQL Server data type. Full data types list can be found here:
 * https://learn.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql?view=sql-server-ver16
 * @property length (Output)
 * Column length.
 * @property nullable (Output)
 * Whether or not the column can accept a null value.
 * @property ordinalPosition (Output)
 * The ordinal position of the column in the table.
 * @property precision (Output)
 * Column precision.
 * @property primaryKey (Output)
 * Whether or not the column represents a primary key.
 * @property scale (Output)
 * Column scale.
 */
public data class StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgs(
    public val column: Output? = null,
    public val dataType: Output? = null,
    public val length: Output? = null,
    public val nullable: Output? = null,
    public val ordinalPosition: Output? = null,
    public val precision: Output? = null,
    public val primaryKey: Output? = null,
    public val scale: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgs =
        com.pulumi.gcp.datastream.inputs.StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgs.builder()
            .column(column?.applyValue({ args0 -> args0 }))
            .dataType(dataType?.applyValue({ args0 -> args0 }))
            .length(length?.applyValue({ args0 -> args0 }))
            .nullable(nullable?.applyValue({ args0 -> args0 }))
            .ordinalPosition(ordinalPosition?.applyValue({ args0 -> args0 }))
            .precision(precision?.applyValue({ args0 -> args0 }))
            .primaryKey(primaryKey?.applyValue({ args0 -> args0 }))
            .scale(scale?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgs].
 */
@PulumiTagMarker
public class StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgsBuilder
internal constructor() {
    private var column: Output? = null

    private var dataType: Output? = null

    private var length: Output? = null

    private var nullable: Output? = null

    private var ordinalPosition: Output? = null

    private var precision: Output? = null

    private var primaryKey: Output? = null

    private var scale: Output? = null

    /**
     * @param value Column name.
     */
    @JvmName("rwrkvtbgekhgnaxk")
    public suspend fun column(`value`: Output) {
        this.column = value
    }

    /**
     * @param value The SQL Server data type. Full data types list can be found here:
     * https://learn.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql?view=sql-server-ver16
     */
    @JvmName("tmwbtwokrbcklouo")
    public suspend fun dataType(`value`: Output) {
        this.dataType = value
    }

    /**
     * @param value (Output)
     * Column length.
     */
    @JvmName("lliknxfmpqxyvghm")
    public suspend fun length(`value`: Output) {
        this.length = value
    }

    /**
     * @param value (Output)
     * Whether or not the column can accept a null value.
     */
    @JvmName("ebxnkduqohwfpguh")
    public suspend fun nullable(`value`: Output) {
        this.nullable = value
    }

    /**
     * @param value (Output)
     * The ordinal position of the column in the table.
     */
    @JvmName("xpbhyyagncxpwdcw")
    public suspend fun ordinalPosition(`value`: Output) {
        this.ordinalPosition = value
    }

    /**
     * @param value (Output)
     * Column precision.
     */
    @JvmName("iogjarnjjjthfqss")
    public suspend fun precision(`value`: Output) {
        this.precision = value
    }

    /**
     * @param value (Output)
     * Whether or not the column represents a primary key.
     */
    @JvmName("bifabcjgotgupyjh")
    public suspend fun primaryKey(`value`: Output) {
        this.primaryKey = value
    }

    /**
     * @param value (Output)
     * Column scale.
     */
    @JvmName("tsqhilidwxdhpphh")
    public suspend fun scale(`value`: Output) {
        this.scale = value
    }

    /**
     * @param value Column name.
     */
    @JvmName("rmajjnttoauaetbi")
    public suspend fun column(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.column = mapped
    }

    /**
     * @param value The SQL Server data type. Full data types list can be found here:
     * https://learn.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql?view=sql-server-ver16
     */
    @JvmName("oifiatnutwfbtykp")
    public suspend fun dataType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataType = mapped
    }

    /**
     * @param value (Output)
     * Column length.
     */
    @JvmName("fjdunuinoigwrora")
    public suspend fun length(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.length = mapped
    }

    /**
     * @param value (Output)
     * Whether or not the column can accept a null value.
     */
    @JvmName("wewqfrckeifmrdta")
    public suspend fun nullable(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nullable = mapped
    }

    /**
     * @param value (Output)
     * The ordinal position of the column in the table.
     */
    @JvmName("nltqxfyruatxpauv")
    public suspend fun ordinalPosition(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ordinalPosition = mapped
    }

    /**
     * @param value (Output)
     * Column precision.
     */
    @JvmName("fossqbkxatuwnakx")
    public suspend fun precision(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.precision = mapped
    }

    /**
     * @param value (Output)
     * Whether or not the column represents a primary key.
     */
    @JvmName("odmtlcdwwmdubrls")
    public suspend fun primaryKey(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryKey = mapped
    }

    /**
     * @param value (Output)
     * Column scale.
     */
    @JvmName("momfinifdvijfbji")
    public suspend fun scale(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scale = mapped
    }

    internal fun build(): StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgs =
        StreamSourceConfigSqlServerSourceConfigExcludeObjectsSchemaTableColumnArgs(
            column = column,
            dataType = dataType,
            length = length,
            nullable = nullable,
            ordinalPosition = ordinalPosition,
            precision = precision,
            primaryKey = primaryKey,
            scale = scale,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy