
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateColumnConfiguration.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.TemplateColumnRole
import kotlin.Suppress
/**
*
* @property colorsConfiguration The color configurations of the column.
* @property column The column.
* @property formatConfiguration The format configuration of a column.
* @property role The role of the column.
*/
public data class TemplateColumnConfiguration(
public val colorsConfiguration: TemplateColorsConfiguration? = null,
public val column: TemplateColumnIdentifier,
public val formatConfiguration: TemplateFormatConfiguration? = null,
public val role: TemplateColumnRole? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateColumnConfiguration): TemplateColumnConfiguration = TemplateColumnConfiguration(
colorsConfiguration = javaType.colorsConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateColorsConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
column = javaType.column().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateColumnIdentifier.Companion.toKotlin(args0)
}),
formatConfiguration = javaType.formatConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateFormatConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
role = javaType.role().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.TemplateColumnRole.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy