![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.dynamodb.kotlin.inputs.TableCsvArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.dynamodb.kotlin.inputs
import com.pulumi.awsnative.dynamodb.inputs.TableCsvArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The options for imported source files in CSV format. The values are Delimiter and HeaderList.
* @property delimiter The delimiter used for separating items in the CSV file being imported.
* @property headerList List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
*/
public data class TableCsvArgs(
public val delimiter: Output? = null,
public val headerList: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.dynamodb.inputs.TableCsvArgs =
com.pulumi.awsnative.dynamodb.inputs.TableCsvArgs.builder()
.delimiter(delimiter?.applyValue({ args0 -> args0 }))
.headerList(headerList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [TableCsvArgs].
*/
@PulumiTagMarker
public class TableCsvArgsBuilder internal constructor() {
private var delimiter: Output? = null
private var headerList: Output>? = null
/**
* @param value The delimiter used for separating items in the CSV file being imported.
*/
@JvmName("yeyphhccrgrvsvrg")
public suspend fun delimiter(`value`: Output) {
this.delimiter = value
}
/**
* @param value List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
*/
@JvmName("rimtmibkhucxyjxd")
public suspend fun headerList(`value`: Output>) {
this.headerList = value
}
@JvmName("hbtfdkenaclgvvvx")
public suspend fun headerList(vararg values: Output) {
this.headerList = Output.all(values.asList())
}
/**
* @param values List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.
*/
@JvmName("iqucnqogehagdepl")
public suspend fun headerList(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy