com.pulumi.gcp.dataplex.kotlin.inputs.AssetDiscoverySpecJsonOptionsArgs.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.AssetDiscoverySpecJsonOptionsArgs.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 AssetDiscoverySpecJsonOptionsArgs(
public val disableTypeInference: Output? = null,
public val encoding: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataplex.inputs.AssetDiscoverySpecJsonOptionsArgs =
com.pulumi.gcp.dataplex.inputs.AssetDiscoverySpecJsonOptionsArgs.builder()
.disableTypeInference(disableTypeInference?.applyValue({ args0 -> args0 }))
.encoding(encoding?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AssetDiscoverySpecJsonOptionsArgs].
*/
@PulumiTagMarker
public class AssetDiscoverySpecJsonOptionsArgsBuilder 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("rhfbixbuhtwvfjsh")
public suspend fun disableTypeInference(`value`: Output) {
this.disableTypeInference = value
}
/**
* @param value Optional. The character encoding of the data. The default is UTF-8.
*/
@JvmName("xklmbnhpeeulhtkj")
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("soptvkebxpyerugs")
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("sewyhwfprqtjspio")
public suspend fun encoding(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encoding = mapped
}
internal fun build(): AssetDiscoverySpecJsonOptionsArgs = AssetDiscoverySpecJsonOptionsArgs(
disableTypeInference = disableTypeInference,
encoding = encoding,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy