All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.dataplex.kotlin.outputs.AssetDiscoverySpecJsonOptions.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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