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

com.pulumi.gcp.dataplex.kotlin.inputs.ZoneDiscoverySpecCsvOptionsArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecCsvOptionsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property delimiter Optional. The delimiter being used to separate values. This defaults to ','.
 * @property disableTypeInference Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
 * @property encoding Optional. The character encoding of the data. The default is UTF-8.
 * @property headerRows Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
 */
public data class ZoneDiscoverySpecCsvOptionsArgs(
    public val delimiter: Output? = null,
    public val disableTypeInference: Output? = null,
    public val encoding: Output? = null,
    public val headerRows: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecCsvOptionsArgs =
        com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecCsvOptionsArgs.builder()
            .delimiter(delimiter?.applyValue({ args0 -> args0 }))
            .disableTypeInference(disableTypeInference?.applyValue({ args0 -> args0 }))
            .encoding(encoding?.applyValue({ args0 -> args0 }))
            .headerRows(headerRows?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ZoneDiscoverySpecCsvOptionsArgs].
 */
@PulumiTagMarker
public class ZoneDiscoverySpecCsvOptionsArgsBuilder internal constructor() {
    private var delimiter: Output? = null

    private var disableTypeInference: Output? = null

    private var encoding: Output? = null

    private var headerRows: Output? = null

    /**
     * @param value Optional. The delimiter being used to separate values. This defaults to ','.
     */
    @JvmName("hybmgcwyblbkbqxj")
    public suspend fun delimiter(`value`: Output) {
        this.delimiter = value
    }

    /**
     * @param value Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
     */
    @JvmName("uliwvavastdhnrgj")
    public suspend fun disableTypeInference(`value`: Output) {
        this.disableTypeInference = value
    }

    /**
     * @param value Optional. The character encoding of the data. The default is UTF-8.
     */
    @JvmName("cjpkcxhvcrcldhpt")
    public suspend fun encoding(`value`: Output) {
        this.encoding = value
    }

    /**
     * @param value Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
     */
    @JvmName("yhrexbsvwaavvhvr")
    public suspend fun headerRows(`value`: Output) {
        this.headerRows = value
    }

    /**
     * @param value Optional. The delimiter being used to separate values. This defaults to ','.
     */
    @JvmName("cceiarsgmxkknlsp")
    public suspend fun delimiter(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.delimiter = mapped
    }

    /**
     * @param value Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings.
     */
    @JvmName("gwdbsbbwvxnahurp")
    public suspend fun disableTypeInference(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.disableTypeInference = mapped
    }

    /**
     * @param value Optional. The character encoding of the data. The default is UTF-8.
     */
    @JvmName("splulpkihriupurp")
    public suspend fun encoding(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.encoding = mapped
    }

    /**
     * @param value Optional. The number of rows to interpret as header rows that should be skipped when reading data rows.
     */
    @JvmName("fuyylasvwocpdurf")
    public suspend fun headerRows(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.headerRows = mapped
    }

    internal fun build(): ZoneDiscoverySpecCsvOptionsArgs = ZoneDiscoverySpecCsvOptionsArgs(
        delimiter = delimiter,
        disableTypeInference = disableTypeInference,
        encoding = encoding,
        headerRows = headerRows,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy