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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateColumnHierarchy.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy