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

com.pulumi.gcp.datastream.kotlin.inputs.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs.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.10.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.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs.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 collation Column collation.
 * @property column Column name.
 * @property dataType The MySQL data type. Full data types list can be found here:
 * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
 * @property length (Output)
 * Column length.
 * @property nullable Whether or not the column can accept a null value.
 * @property ordinalPosition The ordinal position of the column in the table.
 * @property primaryKey Whether or not the column represents a primary key.
 */
public data class StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs(
    public val collation: Output? = null,
    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 primaryKey: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs =
        com.pulumi.gcp.datastream.inputs.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs.builder()
            .collation(collation?.applyValue({ args0 -> args0 }))
            .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 }))
            .primaryKey(primaryKey?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs].
 */
@PulumiTagMarker
public class StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgsBuilder
internal constructor() {
    private var collation: Output? = null

    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 primaryKey: Output? = null

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

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

    /**
     * @param value The MySQL data type. Full data types list can be found here:
     * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
     */
    @JvmName("ffhsjpgixsttncxq")
    public suspend fun dataType(`value`: Output) {
        this.dataType = value
    }

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

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

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

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

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

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

    /**
     * @param value The MySQL data type. Full data types list can be found here:
     * https://dev.mysql.com/doc/refman/8.0/en/data-types.html
     */
    @JvmName("istdboweshqilqbt")
    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("fnerbglwfrgienxa")
    public suspend fun length(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.length = mapped
    }

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

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

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

    internal fun build(): StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs = StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumnArgs(
        collation = collation,
        column = column,
        dataType = dataType,
        length = length,
        nullable = nullable,
        ordinalPosition = ordinalPosition,
        primaryKey = primaryKey,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy