com.pulumi.gcp.bigquery.kotlin.inputs.TableExternalDataConfigurationParquetOptionsArgs.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.bigquery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.TableExternalDataConfigurationParquetOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property enableListInference Indicates whether to use schema inference specifically for Parquet LIST logical type.
* @property enumAsString Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
*/
public data class TableExternalDataConfigurationParquetOptionsArgs(
public val enableListInference: Output? = null,
public val enumAsString: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.TableExternalDataConfigurationParquetOptionsArgs =
com.pulumi.gcp.bigquery.inputs.TableExternalDataConfigurationParquetOptionsArgs.builder()
.enableListInference(enableListInference?.applyValue({ args0 -> args0 }))
.enumAsString(enumAsString?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TableExternalDataConfigurationParquetOptionsArgs].
*/
@PulumiTagMarker
public class TableExternalDataConfigurationParquetOptionsArgsBuilder internal constructor() {
private var enableListInference: Output? = null
private var enumAsString: Output? = null
/**
* @param value Indicates whether to use schema inference specifically for Parquet LIST logical type.
*/
@JvmName("ntorcuekduxmoaji")
public suspend fun enableListInference(`value`: Output) {
this.enableListInference = value
}
/**
* @param value Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
*/
@JvmName("otrkecfjspotrthu")
public suspend fun enumAsString(`value`: Output) {
this.enumAsString = value
}
/**
* @param value Indicates whether to use schema inference specifically for Parquet LIST logical type.
*/
@JvmName("ipgioevluvtdltoc")
public suspend fun enableListInference(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enableListInference = mapped
}
/**
* @param value Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
*/
@JvmName("yttpncfndudtqhxe")
public suspend fun enumAsString(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enumAsString = mapped
}
internal fun build(): TableExternalDataConfigurationParquetOptionsArgs =
TableExternalDataConfigurationParquetOptionsArgs(
enableListInference = enableListInference,
enumAsString = enumAsString,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy