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

com.pulumi.gcp.bigquery.kotlin.inputs.TableExternalDataConfigurationJsonOptionsArgs.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.TableExternalDataConfigurationJsonOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property encoding The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.
 */
public data class TableExternalDataConfigurationJsonOptionsArgs(
    public val encoding: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.bigquery.inputs.TableExternalDataConfigurationJsonOptionsArgs =
        com.pulumi.gcp.bigquery.inputs.TableExternalDataConfigurationJsonOptionsArgs.builder()
            .encoding(encoding?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TableExternalDataConfigurationJsonOptionsArgs].
 */
@PulumiTagMarker
public class TableExternalDataConfigurationJsonOptionsArgsBuilder internal constructor() {
    private var encoding: Output? = null

    /**
     * @param value The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.
     */
    @JvmName("bdtowdnlkbqunhop")
    public suspend fun encoding(`value`: Output) {
        this.encoding = value
    }

    /**
     * @param value The character encoding of the data. The supported values are UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.
     */
    @JvmName("xmeiggcrlvofdfle")
    public suspend fun encoding(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encoding = mapped
    }

    internal fun build(): TableExternalDataConfigurationJsonOptionsArgs =
        TableExternalDataConfigurationJsonOptionsArgs(
            encoding = encoding,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy