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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardHeatMapConfigurationArgs.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 colorScale The color options (gradient color, point of divergence) in a heat map.
 * @property columnLabelOptions The label options of the column that is displayed in a heat map.
 * @property dataLabels The options that determine if visual data labels are displayed.
 * @property fieldWells The field wells of the visual.
 * @property legend The legend display setup of the visual.
 * @property rowLabelOptions The label options of the row that is displayed in a `heat map` .
 * @property sortConfiguration The sort configuration of a heat map.
 * @property tooltip The tooltip display setup of the visual.
 */
public data class DashboardHeatMapConfigurationArgs(
    public val colorScale: Output? = null,
    public val columnLabelOptions: Output? = null,
    public val dataLabels: Output? = null,
    public val fieldWells: Output? = null,
    public val legend: Output? = null,
    public val rowLabelOptions: Output? = null,
    public val sortConfiguration: Output? = null,
    public val tooltip: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardHeatMapConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardHeatMapConfigurationArgs.builder()
            .colorScale(colorScale?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .columnLabelOptions(
                columnLabelOptions?.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() }) }))
            .legend(legend?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .rowLabelOptions(rowLabelOptions?.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 [DashboardHeatMapConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardHeatMapConfigurationArgsBuilder internal constructor() {
    private var colorScale: Output? = null

    private var columnLabelOptions: Output? = null

    private var dataLabels: Output? = null

    private var fieldWells: Output? = null

    private var legend: Output? = null

    private var rowLabelOptions: Output? = null

    private var sortConfiguration: Output? = null

    private var tooltip: Output? = null

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

    /**
     * @param value The label options of the column that is displayed in a heat map.
     */
    @JvmName("drpcthyiqvgrjagj")
    public suspend fun columnLabelOptions(`value`: Output) {
        this.columnLabelOptions = value
    }

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

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

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

    /**
     * @param value The label options of the row that is displayed in a `heat map` .
     */
    @JvmName("stfrqvqkkeksqbio")
    public suspend fun rowLabelOptions(`value`: Output) {
        this.rowLabelOptions = value
    }

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

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

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

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

    /**
     * @param value The label options of the column that is displayed in a heat map.
     */
    @JvmName("apkeyydyolwxslkk")
    public suspend fun columnLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columnLabelOptions = mapped
    }

    /**
     * @param argument The label options of the column that is displayed in a heat map.
     */
    @JvmName("kldjglkvwrolayjo")
    public suspend fun columnLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.columnLabelOptions = mapped
    }

    /**
     * @param value The options that determine if visual data labels are displayed.
     */
    @JvmName("pufghrxlmgqhgxpp")
    public suspend fun dataLabels(`value`: DashboardDataLabelOptionsArgs?) {
        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("asxcvybaklirkieb")
    public suspend fun dataLabels(argument: suspend DashboardDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataLabels = mapped
    }

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

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

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

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

    /**
     * @param value The label options of the row that is displayed in a `heat map` .
     */
    @JvmName("uwoofvimlyqhrcrj")
    public suspend fun rowLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rowLabelOptions = mapped
    }

    /**
     * @param argument The label options of the row that is displayed in a `heat map` .
     */
    @JvmName("ghpviulrdtfngdcf")
    public suspend fun rowLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.rowLabelOptions = mapped
    }

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

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

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

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

    internal fun build(): DashboardHeatMapConfigurationArgs = DashboardHeatMapConfigurationArgs(
        colorScale = colorScale,
        columnLabelOptions = columnLabelOptions,
        dataLabels = dataLabels,
        fieldWells = fieldWells,
        legend = legend,
        rowLabelOptions = rowLabelOptions,
        sortConfiguration = sortConfiguration,
        tooltip = tooltip,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy