com.pulumi.azure.datafactory.kotlin.inputs.DatasetCosmosDBApiSchemaColumnArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.datafactory.kotlin.inputs
import com.pulumi.azure.datafactory.inputs.DatasetCosmosDBApiSchemaColumnArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property description The description of the column.
* @property name The name of the column.
* @property type Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
*/
public data class DatasetCosmosDBApiSchemaColumnArgs(
public val description: Output? = null,
public val name: Output,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.datafactory.inputs.DatasetCosmosDBApiSchemaColumnArgs =
com.pulumi.azure.datafactory.inputs.DatasetCosmosDBApiSchemaColumnArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.type(type?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetCosmosDBApiSchemaColumnArgs].
*/
@PulumiTagMarker
public class DatasetCosmosDBApiSchemaColumnArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var type: Output? = null
/**
* @param value The description of the column.
*/
@JvmName("ecqqebkyjsqusqly")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the column.
*/
@JvmName("ggjdkabawpjsiibc")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
*/
@JvmName("mdyboeimeuctdudn")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The description of the column.
*/
@JvmName("onakoolkbjbjrieo")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The name of the column.
*/
@JvmName("bkmrdcpdnsprvmqy")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
*/
@JvmName("hoxhbcwglpsrrmoa")
public suspend fun type(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): DatasetCosmosDBApiSchemaColumnArgs = DatasetCosmosDBApiSchemaColumnArgs(
description = description,
name = name ?: throw PulumiNullFieldException("name"),
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy