com.pulumi.gcp.dataplex.kotlin.outputs.AssetDiscoverySpecCsvOptions.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.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @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 AssetDiscoverySpecCsvOptions(
public val delimiter: String? = null,
public val disableTypeInference: Boolean? = null,
public val encoding: String? = null,
public val headerRows: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.AssetDiscoverySpecCsvOptions): AssetDiscoverySpecCsvOptions = AssetDiscoverySpecCsvOptions(
delimiter = javaType.delimiter().map({ args0 -> args0 }).orElse(null),
disableTypeInference = javaType.disableTypeInference().map({ args0 -> args0 }).orElse(null),
encoding = javaType.encoding().map({ args0 -> args0 }).orElse(null),
headerRows = javaType.headerRows().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy