com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateColumnHierarchy.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 kotlin.Suppress
/**
*
* @property dateTimeHierarchy The option that determines the hierarchy of any `DateTime` fields.
* @property explicitHierarchy The option that determines the hierarchy of the fields that are built within a visual's field wells. These fields can't be duplicated to other visuals.
* @property predefinedHierarchy The option that determines the hierarchy of the fields that are defined during data preparation. These fields are available to use in any analysis that uses the data source.
*/
public data class TemplateColumnHierarchy(
public val dateTimeHierarchy: TemplateDateTimeHierarchy? = null,
public val explicitHierarchy: TemplateExplicitHierarchy? = null,
public val predefinedHierarchy: TemplatePredefinedHierarchy? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateColumnHierarchy): TemplateColumnHierarchy = TemplateColumnHierarchy(
dateTimeHierarchy = javaType.dateTimeHierarchy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDateTimeHierarchy.Companion.toKotlin(args0)
})
}).orElse(null),
explicitHierarchy = javaType.explicitHierarchy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateExplicitHierarchy.Companion.toKotlin(args0)
})
}).orElse(null),
predefinedHierarchy = javaType.predefinedHierarchy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePredefinedHierarchy.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}