com.pulumi.gcp.dataplex.kotlin.inputs.ZoneDiscoverySpecJsonOptionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.dataplex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecJsonOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property disableTypeInference Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
* @property encoding Optional. The character encoding of the data. The default is UTF-8.
*/
public data class ZoneDiscoverySpecJsonOptionsArgs(
public val disableTypeInference: Output? = null,
public val encoding: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecJsonOptionsArgs =
com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecJsonOptionsArgs.builder()
.disableTypeInference(disableTypeInference?.applyValue({ args0 -> args0 }))
.encoding(encoding?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZoneDiscoverySpecJsonOptionsArgs].
*/
@PulumiTagMarker
public class ZoneDiscoverySpecJsonOptionsArgsBuilder internal constructor() {
private var disableTypeInference: Output? = null
private var encoding: Output? = null
/**
* @param value Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
*/
@JvmName("mvxlwkysctkxhwhx")
public suspend fun disableTypeInference(`value`: Output) {
this.disableTypeInference = value
}
/**
* @param value Optional. The character encoding of the data. The default is UTF-8.
*/
@JvmName("tfjgyjoowncjjvei")
public suspend fun encoding(`value`: Output) {
this.encoding = value
}
/**
* @param value Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean).
*/
@JvmName("kmdgskaivliylvmo")
public suspend fun disableTypeInference(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disableTypeInference = mapped
}
/**
* @param value Optional. The character encoding of the data. The default is UTF-8.
*/
@JvmName("sydnnvlyokvkngfl")
public suspend fun encoding(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encoding = mapped
}
internal fun build(): ZoneDiscoverySpecJsonOptionsArgs = ZoneDiscoverySpecJsonOptionsArgs(
disableTypeInference = disableTypeInference,
encoding = encoding,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy