All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.databrew.kotlin.outputs.DatasetExcelOptions.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.databrew.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 DatasetExcelOptions(
    public val headerRow: Boolean? = null,
    public val sheetIndexes: List? = null,
    public val sheetNames: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.DatasetExcelOptions): DatasetExcelOptions = DatasetExcelOptions(
            headerRow = javaType.headerRow().map({ args0 -> args0 }).orElse(null),
            sheetIndexes = javaType.sheetIndexes().map({ args0 -> args0 }),
            sheetNames = javaType.sheetNames().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy