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

com.pulumi.gcp.datastream.kotlin.inputs.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs.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.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs.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 Oracle data type. Full data types list can be found here:
 * https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/Data-Types.html
 * @property encoding (Output)
 * Column encoding.
 * @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
StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs(
    public val column: Output? = null,
    public val dataType: Output? = null,
    public val encoding: 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.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs =
        com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs.builder()
            .column(column?.applyValue({ args0 -> args0 }))
            .dataType(dataType?.applyValue({ args0 -> args0 }))
            .encoding(encoding?.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 [StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgs].
 */
@PulumiTagMarker
public class
StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumnArgsBuilder
internal constructor() {
    private var column: Output? = null

    private var dataType: Output? = null

    private var encoding: 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("ykfcqudwsdinicbc")
    public suspend fun column(`value`: Output) {
        this.column = value
    }

    /**
     * @param value The Oracle data type. Full data types list can be found here:
     * https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/Data-Types.html
     */
    @JvmName("rkpcimahhfbxcedm")
    public suspend fun dataType(`value`: Output) {
        this.dataType = value
    }

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

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

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

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

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

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

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

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

    /**
     * @param value The Oracle data type. Full data types list can be found here:
     * https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/Data-Types.html
     */
    @JvmName("tlfkfksmtlwbjara")
    public suspend fun dataType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataType = mapped
    }

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

    /**
     * @param value (Output)
     * Column length.
     */
    @JvmName("xmnjamoorajxxyxe")
    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("jlwuvnnvhpsqbhbg")
    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("ruopoxijeccbysgh")
    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("oconxylxraajyhvf")
    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("tpwcluusadctnduo")
    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("vunakcqrxtnncfpy")
    public suspend fun scale(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scale = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy