
com.pulumi.googlenative.dataplex.v1.kotlin.inputs.GoogleCloudDataplexV1SchemaSchemaFieldArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dataplex.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1SchemaSchemaFieldArgs.builder
import com.pulumi.googlenative.dataplex.v1.kotlin.enums.GoogleCloudDataplexV1SchemaSchemaFieldMode
import com.pulumi.googlenative.dataplex.v1.kotlin.enums.GoogleCloudDataplexV1SchemaSchemaFieldType
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Represents a column field within a table schema.
* @property description Optional. User friendly field description. Must be less than or equal to 1024 characters.
* @property fields Optional. Any nested field for complex types.
* @property mode Additional field semantics.
* @property name The name of the field. Must contain only letters, numbers and underscores, with a maximum length of 767 characters, and must begin with a letter or underscore.
* @property type The type of field.
*/
public data class GoogleCloudDataplexV1SchemaSchemaFieldArgs(
public val description: Output? = null,
public val fields: Output>? = null,
public val mode: Output,
public val name: Output,
public val type: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1SchemaSchemaFieldArgs =
com.pulumi.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1SchemaSchemaFieldArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.fields(fields?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.mode(mode.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GoogleCloudDataplexV1SchemaSchemaFieldArgs].
*/
@PulumiTagMarker
public class GoogleCloudDataplexV1SchemaSchemaFieldArgsBuilder internal constructor() {
private var description: Output? = null
private var fields: Output>? = null
private var mode: Output? = null
private var name: Output? = null
private var type: Output? = null
/**
* @param value Optional. User friendly field description. Must be less than or equal to 1024 characters.
*/
@JvmName("vevosexugxkldlgp")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Optional. Any nested field for complex types.
*/
@JvmName("ctbyamtdsshpsdfk")
public suspend fun fields(`value`: Output>) {
this.fields = value
}
@JvmName("sqyjpuejwspvnbfi")
public suspend fun fields(vararg values: Output) {
this.fields = Output.all(values.asList())
}
/**
* @param values Optional. Any nested field for complex types.
*/
@JvmName("telxrlrxrrqdgdxj")
public suspend fun fields(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy