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

com.pulumi.azurenative.datafactory.kotlin.inputs.MapperTableSchemaArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.datafactory.kotlin.inputs

import com.pulumi.azurenative.datafactory.inputs.MapperTableSchemaArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Schema of a CDC table in terms of column names and their corresponding data types.
 * @property dataType Data type of the column.
 * @property name Name of the column.
 */
public data class MapperTableSchemaArgs(
    public val dataType: Output? = null,
    public val name: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.MapperTableSchemaArgs =
        com.pulumi.azurenative.datafactory.inputs.MapperTableSchemaArgs.builder()
            .dataType(dataType?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MapperTableSchemaArgs].
 */
@PulumiTagMarker
public class MapperTableSchemaArgsBuilder internal constructor() {
    private var dataType: Output? = null

    private var name: Output? = null

    /**
     * @param value Data type of the column.
     */
    @JvmName("xrxdjlmqcpccodmv")
    public suspend fun dataType(`value`: Output) {
        this.dataType = value
    }

    /**
     * @param value Name of the column.
     */
    @JvmName("hhrvrdasabelbkwh")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Data type of the column.
     */
    @JvmName("laxjiingljxkvndq")
    public suspend fun dataType(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataType = mapped
    }

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

    internal fun build(): MapperTableSchemaArgs = MapperTableSchemaArgs(
        dataType = dataType,
        name = name,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy