![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.databrew.kotlin.inputs.DatasetCsvOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.databrew.kotlin.inputs
import com.pulumi.awsnative.databrew.inputs.DatasetCsvOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Csv options
* @property delimiter A single character that specifies the delimiter being used in the CSV file.
* @property headerRow A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
*/
public data class DatasetCsvOptionsArgs(
public val delimiter: Output? = null,
public val headerRow: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.databrew.inputs.DatasetCsvOptionsArgs =
com.pulumi.awsnative.databrew.inputs.DatasetCsvOptionsArgs.builder()
.delimiter(delimiter?.applyValue({ args0 -> args0 }))
.headerRow(headerRow?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetCsvOptionsArgs].
*/
@PulumiTagMarker
public class DatasetCsvOptionsArgsBuilder internal constructor() {
private var delimiter: Output? = null
private var headerRow: Output? = null
/**
* @param value A single character that specifies the delimiter being used in the CSV file.
*/
@JvmName("yweknhhqkbnysfno")
public suspend fun delimiter(`value`: Output) {
this.delimiter = value
}
/**
* @param value A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
*/
@JvmName("nnhgthlwefustbmh")
public suspend fun headerRow(`value`: Output) {
this.headerRow = value
}
/**
* @param value A single character that specifies the delimiter being used in the CSV file.
*/
@JvmName("svrjkbtlawixbiyi")
public suspend fun delimiter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.delimiter = mapped
}
/**
* @param value A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
*/
@JvmName("mjjgffxqbpsithcy")
public suspend fun headerRow(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.headerRow = mapped
}
internal fun build(): DatasetCsvOptionsArgs = DatasetCsvOptionsArgs(
delimiter = delimiter,
headerRow = headerRow,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy