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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateColumnHierarchyArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.TemplateColumnHierarchyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @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 TemplateColumnHierarchyArgs(
    public val dateTimeHierarchy: Output? = null,
    public val explicitHierarchy: Output? = null,
    public val predefinedHierarchy: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateColumnHierarchyArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateColumnHierarchyArgs.builder()
            .dateTimeHierarchy(dateTimeHierarchy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .explicitHierarchy(explicitHierarchy?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .predefinedHierarchy(
                predefinedHierarchy?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [TemplateColumnHierarchyArgs].
 */
@PulumiTagMarker
public class TemplateColumnHierarchyArgsBuilder internal constructor() {
    private var dateTimeHierarchy: Output? = null

    private var explicitHierarchy: Output? = null

    private var predefinedHierarchy: Output? = null

    /**
     * @param value The option that determines the hierarchy of any `DateTime` fields.
     */
    @JvmName("smgkootcmbictojt")
    public suspend fun dateTimeHierarchy(`value`: Output) {
        this.dateTimeHierarchy = value
    }

    /**
     * @param value 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.
     */
    @JvmName("tdwoibulpcsaghta")
    public suspend fun explicitHierarchy(`value`: Output) {
        this.explicitHierarchy = value
    }

    /**
     * @param value 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.
     */
    @JvmName("saqasnetupkrltnp")
    public suspend fun predefinedHierarchy(`value`: Output) {
        this.predefinedHierarchy = value
    }

    /**
     * @param value The option that determines the hierarchy of any `DateTime` fields.
     */
    @JvmName("jmwpypgrpmbwrikj")
    public suspend fun dateTimeHierarchy(`value`: TemplateDateTimeHierarchyArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dateTimeHierarchy = mapped
    }

    /**
     * @param argument The option that determines the hierarchy of any `DateTime` fields.
     */
    @JvmName("oonondwgwusqvtoq")
    public suspend fun dateTimeHierarchy(argument: suspend TemplateDateTimeHierarchyArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateDateTimeHierarchyArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dateTimeHierarchy = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("grjfneccsmuncwlh")
    public suspend fun explicitHierarchy(`value`: TemplateExplicitHierarchyArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.explicitHierarchy = mapped
    }

    /**
     * @param argument 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.
     */
    @JvmName("jlkjijwftkljhgbx")
    public suspend fun explicitHierarchy(argument: suspend TemplateExplicitHierarchyArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateExplicitHierarchyArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.explicitHierarchy = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("erlciaxbojlcwefu")
    public suspend fun predefinedHierarchy(`value`: TemplatePredefinedHierarchyArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.predefinedHierarchy = mapped
    }

    /**
     * @param argument 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.
     */
    @JvmName("begloiuahuwpcyoy")
    public suspend fun predefinedHierarchy(argument: suspend TemplatePredefinedHierarchyArgsBuilder.() -> Unit) {
        val toBeMapped = TemplatePredefinedHierarchyArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.predefinedHierarchy = mapped
    }

    internal fun build(): TemplateColumnHierarchyArgs = TemplateColumnHierarchyArgs(
        dateTimeHierarchy = dateTimeHierarchy,
        explicitHierarchy = explicitHierarchy,
        predefinedHierarchy = predefinedHierarchy,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy