com.pulumi.awsnative.quicksight.kotlin.outputs.DataSetInputColumn.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.DataSetColumnDataSubType
import com.pulumi.awsnative.quicksight.kotlin.enums.DataSetInputColumnDataType
import kotlin.String
import kotlin.Suppress
/**
* Metadata for a column that is used as the input of a transform operation.
* @property name The name of this column in the underlying data source.
* @property subType The sub data type of the column. Sub types are only available for decimal columns that are part of a SPICE dataset.
* @property type The data type of the column.
*/
public data class DataSetInputColumn(
public val name: String,
public val subType: DataSetColumnDataSubType? = null,
public val type: DataSetInputColumnDataType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DataSetInputColumn): DataSetInputColumn = DataSetInputColumn(
name = javaType.name(),
subType = javaType.subType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DataSetColumnDataSubType.Companion.toKotlin(args0)
})
}).orElse(null),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.DataSetInputColumnDataType.Companion.toKotlin(args0)
}),
)
}
}