![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.databrew.kotlin.inputs.DatasetExcelOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.databrew.kotlin.inputs
import com.pulumi.awsnative.databrew.inputs.DatasetExcelOptionsArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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.
* @property sheetIndexes One or more sheet numbers in the Excel file that will be included in the dataset.
* @property sheetNames One or more named sheets in the Excel file that will be included in the dataset.
*/
public data class DatasetExcelOptionsArgs(
public val headerRow: Output? = null,
public val sheetIndexes: Output>? = null,
public val sheetNames: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.databrew.inputs.DatasetExcelOptionsArgs =
com.pulumi.awsnative.databrew.inputs.DatasetExcelOptionsArgs.builder()
.headerRow(headerRow?.applyValue({ args0 -> args0 }))
.sheetIndexes(sheetIndexes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sheetNames(sheetNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DatasetExcelOptionsArgs].
*/
@PulumiTagMarker
public class DatasetExcelOptionsArgsBuilder internal constructor() {
private var headerRow: Output? = null
private var sheetIndexes: Output>? = null
private var sheetNames: Output>? = null
/**
* @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("cqduflsxmygumode")
public suspend fun headerRow(`value`: Output) {
this.headerRow = value
}
/**
* @param value One or more sheet numbers in the Excel file that will be included in the dataset.
*/
@JvmName("whbyeaiwiojdjrnd")
public suspend fun sheetIndexes(`value`: Output>) {
this.sheetIndexes = value
}
@JvmName("hhcfefufjnemuykl")
public suspend fun sheetIndexes(vararg values: Output) {
this.sheetIndexes = Output.all(values.asList())
}
/**
* @param values One or more sheet numbers in the Excel file that will be included in the dataset.
*/
@JvmName("fupffknprcnqbxdr")
public suspend fun sheetIndexes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy