com.pulumi.gcp.dataplex.kotlin.inputs.AssetDiscoverySpecCsvOptionsArgs.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.dataplex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.AssetDiscoverySpecCsvOptionsArgs.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 AssetDiscoverySpecCsvOptionsArgs(
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.AssetDiscoverySpecCsvOptionsArgs =
com.pulumi.gcp.dataplex.inputs.AssetDiscoverySpecCsvOptionsArgs.builder()
.delimiter(delimiter?.applyValue({ args0 -> args0 }))
.disableTypeInference(disableTypeInference?.applyValue({ args0 -> args0 }))
.encoding(encoding?.applyValue({ args0 -> args0 }))
.headerRows(headerRows?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AssetDiscoverySpecCsvOptionsArgs].
*/
@PulumiTagMarker
public class AssetDiscoverySpecCsvOptionsArgsBuilder 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("etaovcrwasrguosj")
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("crgpahihupcvghou")
public suspend fun disableTypeInference(`value`: Output) {
this.disableTypeInference = value
}
/**
* @param value Optional. The character encoding of the data. The default is UTF-8.
*/
@JvmName("clpqfeljvkimbciy")
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("lpndooldaabwkdkn")
public suspend fun headerRows(`value`: Output) {
this.headerRows = value
}
/**
* @param value Optional. The delimiter being used to separate values. This defaults to ','.
*/
@JvmName("pkagorqdirgcqtmn")
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("sjqbiqsyisqcekox")
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("yifjarwleppcsxgn")
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("dyeiblcxcfjixkxi")
public suspend fun headerRows(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.headerRows = mapped
}
internal fun build(): AssetDiscoverySpecCsvOptionsArgs = AssetDiscoverySpecCsvOptionsArgs(
delimiter = delimiter,
disableTypeInference = disableTypeInference,
encoding = encoding,
headerRows = headerRows,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy