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

com.pulumi.gcp.bigquery.kotlin.inputs.JobLoadParquetOptionsArgs.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.12.0.0
Show newest version
@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.JobLoadParquetOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enableListInference If sourceFormat is set to PARQUET, indicates whether to use schema inference specifically for Parquet LIST logical type.
 * @property enumAsString If sourceFormat is set to PARQUET, indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
 */
public data class JobLoadParquetOptionsArgs(
    public val enableListInference: Output? = null,
    public val enumAsString: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.bigquery.inputs.JobLoadParquetOptionsArgs =
        com.pulumi.gcp.bigquery.inputs.JobLoadParquetOptionsArgs.builder()
            .enableListInference(enableListInference?.applyValue({ args0 -> args0 }))
            .enumAsString(enumAsString?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobLoadParquetOptionsArgs].
 */
@PulumiTagMarker
public class JobLoadParquetOptionsArgsBuilder internal constructor() {
    private var enableListInference: Output? = null

    private var enumAsString: Output? = null

    /**
     * @param value If sourceFormat is set to PARQUET, indicates whether to use schema inference specifically for Parquet LIST logical type.
     */
    @JvmName("jybkwuqkbthwpwdm")
    public suspend fun enableListInference(`value`: Output) {
        this.enableListInference = value
    }

    /**
     * @param value If sourceFormat is set to PARQUET, indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
     */
    @JvmName("lspwunojuycgqvfj")
    public suspend fun enumAsString(`value`: Output) {
        this.enumAsString = value
    }

    /**
     * @param value If sourceFormat is set to PARQUET, indicates whether to use schema inference specifically for Parquet LIST logical type.
     */
    @JvmName("egecotujfektnuej")
    public suspend fun enableListInference(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enableListInference = mapped
    }

    /**
     * @param value If sourceFormat is set to PARQUET, indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
     */
    @JvmName("ukbxoruucbsguwwr")
    public suspend fun enumAsString(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enumAsString = mapped
    }

    internal fun build(): JobLoadParquetOptionsArgs = JobLoadParquetOptionsArgs(
        enableListInference = enableListInference,
        enumAsString = enumAsString,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy