com.pulumi.gcp.dataplex.kotlin.outputs.AssetDiscoverySpecJsonOptions.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.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @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 AssetDiscoverySpecJsonOptions(
public val disableTypeInference: Boolean? = null,
public val encoding: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.AssetDiscoverySpecJsonOptions): AssetDiscoverySpecJsonOptions = AssetDiscoverySpecJsonOptions(
disableTypeInference = javaType.disableTypeInference().map({ args0 -> args0 }).orElse(null),
encoding = javaType.encoding().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy