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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisTreeMapConfigurationArgs.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 colorLabelOptions The label options (label text, label visibility) for the colors displayed in a tree map.
 * @property colorScale The color options (gradient color, point of divergence) of a tree map.
 * @property dataLabels The options that determine if visual data labels are displayed.
 * @property fieldWells The field wells of the visual.
 * @property groupLabelOptions The label options (label text, label visibility) of the groups that are displayed in a tree map.
 * @property legend The legend display setup of the visual.
 * @property sizeLabelOptions The label options (label text, label visibility) of the sizes that are displayed in a tree map.
 * @property sortConfiguration The sort configuration of a tree map.
 * @property tooltip The tooltip display setup of the visual.
 */
public data class AnalysisTreeMapConfigurationArgs(
    public val colorLabelOptions: Output? = null,
    public val colorScale: Output? = null,
    public val dataLabels: Output? = null,
    public val fieldWells: Output? = null,
    public val groupLabelOptions: Output? = null,
    public val legend: Output? = null,
    public val sizeLabelOptions: Output? = null,
    public val sortConfiguration: Output? = null,
    public val tooltip: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisTreeMapConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisTreeMapConfigurationArgs.builder()
            .colorLabelOptions(colorLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .colorScale(colorScale?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .dataLabels(dataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .groupLabelOptions(groupLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .legend(legend?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sizeLabelOptions(sizeLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .sortConfiguration(sortConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tooltip(tooltip?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AnalysisTreeMapConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisTreeMapConfigurationArgsBuilder internal constructor() {
    private var colorLabelOptions: Output? = null

    private var colorScale: Output? = null

    private var dataLabels: Output? = null

    private var fieldWells: Output? = null

    private var groupLabelOptions: Output? = null

    private var legend: Output? = null

    private var sizeLabelOptions: Output? = null

    private var sortConfiguration: Output? = null

    private var tooltip: Output? = null

    /**
     * @param value The label options (label text, label visibility) for the colors displayed in a tree map.
     */
    @JvmName("scmkholwodxnitpm")
    public suspend fun colorLabelOptions(`value`: Output) {
        this.colorLabelOptions = value
    }

    /**
     * @param value The color options (gradient color, point of divergence) of a tree map.
     */
    @JvmName("qchttysyxuarqmca")
    public suspend fun colorScale(`value`: Output) {
        this.colorScale = value
    }

    /**
     * @param value The options that determine if visual data labels are displayed.
     */
    @JvmName("aoqlaikgvfcnfjya")
    public suspend fun dataLabels(`value`: Output) {
        this.dataLabels = value
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("judrryaouermgykq")
    public suspend fun fieldWells(`value`: Output) {
        this.fieldWells = value
    }

    /**
     * @param value The label options (label text, label visibility) of the groups that are displayed in a tree map.
     */
    @JvmName("lmvaljtrntchdtrj")
    public suspend fun groupLabelOptions(`value`: Output) {
        this.groupLabelOptions = value
    }

    /**
     * @param value The legend display setup of the visual.
     */
    @JvmName("gpgpqsmcuvnjddrf")
    public suspend fun legend(`value`: Output) {
        this.legend = value
    }

    /**
     * @param value The label options (label text, label visibility) of the sizes that are displayed in a tree map.
     */
    @JvmName("mdhfgamuqxubequs")
    public suspend fun sizeLabelOptions(`value`: Output) {
        this.sizeLabelOptions = value
    }

    /**
     * @param value The sort configuration of a tree map.
     */
    @JvmName("ymonxegywsjujqir")
    public suspend fun sortConfiguration(`value`: Output) {
        this.sortConfiguration = value
    }

    /**
     * @param value The tooltip display setup of the visual.
     */
    @JvmName("psgubylanrgaucnh")
    public suspend fun tooltip(`value`: Output) {
        this.tooltip = value
    }

    /**
     * @param value The label options (label text, label visibility) for the colors displayed in a tree map.
     */
    @JvmName("tbjeldfddvonrdvp")
    public suspend fun colorLabelOptions(`value`: AnalysisChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.colorLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility) for the colors displayed in a tree map.
     */
    @JvmName("mlmjowpdobndlrwr")
    public suspend fun colorLabelOptions(argument: suspend AnalysisChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.colorLabelOptions = mapped
    }

    /**
     * @param value The color options (gradient color, point of divergence) of a tree map.
     */
    @JvmName("lgytnxpujhwdlcbj")
    public suspend fun colorScale(`value`: AnalysisColorScaleArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.colorScale = mapped
    }

    /**
     * @param argument The color options (gradient color, point of divergence) of a tree map.
     */
    @JvmName("fxucanjwyoptxmjk")
    public suspend fun colorScale(argument: suspend AnalysisColorScaleArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisColorScaleArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.colorScale = mapped
    }

    /**
     * @param value The options that determine if visual data labels are displayed.
     */
    @JvmName("xpsoyhyuogmwokil")
    public suspend fun dataLabels(`value`: AnalysisDataLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLabels = mapped
    }

    /**
     * @param argument The options that determine if visual data labels are displayed.
     */
    @JvmName("mxppvctpxkgeqhhe")
    public suspend fun dataLabels(argument: suspend AnalysisDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataLabels = mapped
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("kxkvcwhwdjgqdtob")
    public suspend fun fieldWells(`value`: AnalysisTreeMapFieldWellsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldWells = mapped
    }

    /**
     * @param argument The field wells of the visual.
     */
    @JvmName("rqgcrxiossvelmrl")
    public suspend fun fieldWells(argument: suspend AnalysisTreeMapFieldWellsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTreeMapFieldWellsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fieldWells = mapped
    }

    /**
     * @param value The label options (label text, label visibility) of the groups that are displayed in a tree map.
     */
    @JvmName("rmmvkcyqewkdcssn")
    public suspend fun groupLabelOptions(`value`: AnalysisChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.groupLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility) of the groups that are displayed in a tree map.
     */
    @JvmName("exjyfajliyamxujb")
    public suspend fun groupLabelOptions(argument: suspend AnalysisChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.groupLabelOptions = mapped
    }

    /**
     * @param value The legend display setup of the visual.
     */
    @JvmName("sxogrmhotbdfmanx")
    public suspend fun legend(`value`: AnalysisLegendOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.legend = mapped
    }

    /**
     * @param argument The legend display setup of the visual.
     */
    @JvmName("migrofayiwxpewfp")
    public suspend fun legend(argument: suspend AnalysisLegendOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisLegendOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.legend = mapped
    }

    /**
     * @param value The label options (label text, label visibility) of the sizes that are displayed in a tree map.
     */
    @JvmName("llalssnmexegppcu")
    public suspend fun sizeLabelOptions(`value`: AnalysisChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sizeLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility) of the sizes that are displayed in a tree map.
     */
    @JvmName("mpwcglkoemeiglub")
    public suspend fun sizeLabelOptions(argument: suspend AnalysisChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.sizeLabelOptions = mapped
    }

    /**
     * @param value The sort configuration of a tree map.
     */
    @JvmName("mwspaardbanguicb")
    public suspend fun sortConfiguration(`value`: AnalysisTreeMapSortConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sortConfiguration = mapped
    }

    /**
     * @param argument The sort configuration of a tree map.
     */
    @JvmName("rmcvaqdlnaanfgrf")
    public suspend fun sortConfiguration(argument: suspend AnalysisTreeMapSortConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTreeMapSortConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.sortConfiguration = mapped
    }

    /**
     * @param value The tooltip display setup of the visual.
     */
    @JvmName("bhmysnjbersyadun")
    public suspend fun tooltip(`value`: AnalysisTooltipOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tooltip = mapped
    }

    /**
     * @param argument The tooltip display setup of the visual.
     */
    @JvmName("lifpconeocptseki")
    public suspend fun tooltip(argument: suspend AnalysisTooltipOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisTooltipOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.tooltip = mapped
    }

    internal fun build(): AnalysisTreeMapConfigurationArgs = AnalysisTreeMapConfigurationArgs(
        colorLabelOptions = colorLabelOptions,
        colorScale = colorScale,
        dataLabels = dataLabels,
        fieldWells = fieldWells,
        groupLabelOptions = groupLabelOptions,
        legend = legend,
        sizeLabelOptions = sizeLabelOptions,
        sortConfiguration = sortConfiguration,
        tooltip = tooltip,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy