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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisExplicitHierarchyArgs.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.inputs

import com.pulumi.awsnative.quicksight.inputs.AnalysisExplicitHierarchyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property columns The list of columns that define the explicit hierarchy.
 * @property drillDownFilters The option that determines the drill down filters for the explicit hierarchy.
 * @property hierarchyId The hierarchy ID of the explicit hierarchy.
 */
public data class AnalysisExplicitHierarchyArgs(
    public val columns: Output>,
    public val drillDownFilters: Output>? = null,
    public val hierarchyId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisExplicitHierarchyArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisExplicitHierarchyArgs.builder()
            .columns(
                columns.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .drillDownFilters(
                drillDownFilters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .hierarchyId(hierarchyId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AnalysisExplicitHierarchyArgs].
 */
@PulumiTagMarker
public class AnalysisExplicitHierarchyArgsBuilder internal constructor() {
    private var columns: Output>? = null

    private var drillDownFilters: Output>? = null

    private var hierarchyId: Output? = null

    /**
     * @param value The list of columns that define the explicit hierarchy.
     */
    @JvmName("uenfeavkbtmsbwps")
    public suspend fun columns(`value`: Output>) {
        this.columns = value
    }

    @JvmName("vfjbxdjmuyljlvax")
    public suspend fun columns(vararg values: Output) {
        this.columns = Output.all(values.asList())
    }

    /**
     * @param values The list of columns that define the explicit hierarchy.
     */
    @JvmName("pkwtkbohptcxwojq")
    public suspend fun columns(values: List>) {
        this.columns = Output.all(values)
    }

    /**
     * @param value The option that determines the drill down filters for the explicit hierarchy.
     */
    @JvmName("kgvcelkegcyyuodo")
    public suspend fun drillDownFilters(`value`: Output>) {
        this.drillDownFilters = value
    }

    @JvmName("wxbucowuytbfwhfc")
    public suspend fun drillDownFilters(vararg values: Output) {
        this.drillDownFilters = Output.all(values.asList())
    }

    /**
     * @param values The option that determines the drill down filters for the explicit hierarchy.
     */
    @JvmName("eohgogprwyfqybak")
    public suspend fun drillDownFilters(values: List>) {
        this.drillDownFilters = Output.all(values)
    }

    /**
     * @param value The hierarchy ID of the explicit hierarchy.
     */
    @JvmName("shpqphkxxkskandy")
    public suspend fun hierarchyId(`value`: Output) {
        this.hierarchyId = value
    }

    /**
     * @param value The list of columns that define the explicit hierarchy.
     */
    @JvmName("yjhvdktggkklmeoa")
    public suspend fun columns(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columns = mapped
    }

    /**
     * @param argument The list of columns that define the explicit hierarchy.
     */
    @JvmName("cpckxtykhbqefgpf")
    public suspend fun columns(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisColumnIdentifierArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columns = mapped
    }

    /**
     * @param argument The list of columns that define the explicit hierarchy.
     */
    @JvmName("iosimthbsnphxnrm")
    public suspend fun columns(vararg argument: suspend AnalysisColumnIdentifierArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisColumnIdentifierArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columns = mapped
    }

    /**
     * @param argument The list of columns that define the explicit hierarchy.
     */
    @JvmName("cubjavdnekfgfwmr")
    public suspend fun columns(argument: suspend AnalysisColumnIdentifierArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisColumnIdentifierArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.columns = mapped
    }

    /**
     * @param values The list of columns that define the explicit hierarchy.
     */
    @JvmName("tiipxvexxinyosml")
    public suspend fun columns(vararg values: AnalysisColumnIdentifierArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columns = mapped
    }

    /**
     * @param value The option that determines the drill down filters for the explicit hierarchy.
     */
    @JvmName("mugclwwxkprymjtb")
    public suspend fun drillDownFilters(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.drillDownFilters = mapped
    }

    /**
     * @param argument The option that determines the drill down filters for the explicit hierarchy.
     */
    @JvmName("kjxlxihykhsijeti")
    public suspend fun drillDownFilters(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisDrillDownFilterArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.drillDownFilters = mapped
    }

    /**
     * @param argument The option that determines the drill down filters for the explicit hierarchy.
     */
    @JvmName("vljpaedmtqxvdhga")
    public suspend fun drillDownFilters(vararg argument: suspend AnalysisDrillDownFilterArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisDrillDownFilterArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.drillDownFilters = mapped
    }

    /**
     * @param argument The option that determines the drill down filters for the explicit hierarchy.
     */
    @JvmName("rxofqeajdlhxnria")
    public suspend fun drillDownFilters(argument: suspend AnalysisDrillDownFilterArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisDrillDownFilterArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.drillDownFilters = mapped
    }

    /**
     * @param values The option that determines the drill down filters for the explicit hierarchy.
     */
    @JvmName("rcyvsrclcknvcuei")
    public suspend fun drillDownFilters(vararg values: AnalysisDrillDownFilterArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.drillDownFilters = mapped
    }

    /**
     * @param value The hierarchy ID of the explicit hierarchy.
     */
    @JvmName("knvcmbsiomhounym")
    public suspend fun hierarchyId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hierarchyId = mapped
    }

    internal fun build(): AnalysisExplicitHierarchyArgs = AnalysisExplicitHierarchyArgs(
        columns = columns ?: throw PulumiNullFieldException("columns"),
        drillDownFilters = drillDownFilters,
        hierarchyId = hierarchyId ?: throw PulumiNullFieldException("hierarchyId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy