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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardWaterfallChartConfigurationArgs.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 categoryAxisDisplayOptions The options that determine the presentation of the category axis.
 * @property categoryAxisLabelOptions The options that determine the presentation of the category axis label.
 * @property colorConfiguration The color configuration of a waterfall visual.
 * @property dataLabels The data label configuration of a waterfall visual.
 * @property fieldWells The field well configuration of a waterfall visual.
 * @property legend The legend configuration of a waterfall visual.
 * @property primaryYAxisDisplayOptions The options that determine the presentation of the y-axis.
 * @property primaryYAxisLabelOptions The options that determine the presentation of the y-axis label.
 * @property sortConfiguration The sort configuration of a waterfall visual.
 * @property visualPalette The visual palette configuration of a waterfall visual.
 * @property waterfallChartOptions The options that determine the presentation of a waterfall visual.
 */
public data class DashboardWaterfallChartConfigurationArgs(
    public val categoryAxisDisplayOptions: Output? = null,
    public val categoryAxisLabelOptions: Output? = null,
    public val colorConfiguration: Output? = null,
    public val dataLabels: Output? = null,
    public val fieldWells: Output? = null,
    public val legend: Output? = null,
    public val primaryYAxisDisplayOptions: Output? = null,
    public val primaryYAxisLabelOptions: Output? = null,
    public val sortConfiguration: Output? = null,
    public val visualPalette: Output? = null,
    public val waterfallChartOptions: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardWaterfallChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardWaterfallChartConfigurationArgs.builder()
            .categoryAxisDisplayOptions(
                categoryAxisDisplayOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .categoryAxisLabelOptions(
                categoryAxisLabelOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .colorConfiguration(
                colorConfiguration?.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() }) }))
            .primaryYAxisDisplayOptions(
                primaryYAxisDisplayOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .primaryYAxisLabelOptions(
                primaryYAxisLabelOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sortConfiguration(sortConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .visualPalette(visualPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .waterfallChartOptions(
                waterfallChartOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardWaterfallChartConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardWaterfallChartConfigurationArgsBuilder internal constructor() {
    private var categoryAxisDisplayOptions: Output? = null

    private var categoryAxisLabelOptions: Output? = null

    private var colorConfiguration: Output? = null

    private var dataLabels: Output? = null

    private var fieldWells: Output? = null

    private var legend: Output? = null

    private var primaryYAxisDisplayOptions: Output? = null

    private var primaryYAxisLabelOptions: Output? = null

    private var sortConfiguration: Output? = null

    private var visualPalette: Output? = null

    private var waterfallChartOptions: Output? = null

    /**
     * @param value The options that determine the presentation of the category axis.
     */
    @JvmName("eybfosawscdbfhlk")
    public suspend fun categoryAxisDisplayOptions(`value`: Output) {
        this.categoryAxisDisplayOptions = value
    }

    /**
     * @param value The options that determine the presentation of the category axis label.
     */
    @JvmName("ivatthhngcpigxml")
    public suspend fun categoryAxisLabelOptions(`value`: Output) {
        this.categoryAxisLabelOptions = value
    }

    /**
     * @param value The color configuration of a waterfall visual.
     */
    @JvmName("odqqsrkmjppetkqb")
    public suspend fun colorConfiguration(`value`: Output) {
        this.colorConfiguration = value
    }

    /**
     * @param value The data label configuration of a waterfall visual.
     */
    @JvmName("qoandjscgijayibu")
    public suspend fun dataLabels(`value`: Output) {
        this.dataLabels = value
    }

    /**
     * @param value The field well configuration of a waterfall visual.
     */
    @JvmName("rgdcrxattsabiify")
    public suspend fun fieldWells(`value`: Output) {
        this.fieldWells = value
    }

    /**
     * @param value The legend configuration of a waterfall visual.
     */
    @JvmName("mempafvyxkiighrm")
    public suspend fun legend(`value`: Output) {
        this.legend = value
    }

    /**
     * @param value The options that determine the presentation of the y-axis.
     */
    @JvmName("gsiorigpjocfbthm")
    public suspend fun primaryYAxisDisplayOptions(`value`: Output) {
        this.primaryYAxisDisplayOptions = value
    }

    /**
     * @param value The options that determine the presentation of the y-axis label.
     */
    @JvmName("bbegilqcjclcncmh")
    public suspend fun primaryYAxisLabelOptions(`value`: Output) {
        this.primaryYAxisLabelOptions = value
    }

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

    /**
     * @param value The visual palette configuration of a waterfall visual.
     */
    @JvmName("bdbckrbdbdaacinp")
    public suspend fun visualPalette(`value`: Output) {
        this.visualPalette = value
    }

    /**
     * @param value The options that determine the presentation of a waterfall visual.
     */
    @JvmName("nkmekqxosocmgdvu")
    public suspend fun waterfallChartOptions(`value`: Output) {
        this.waterfallChartOptions = value
    }

    /**
     * @param value The options that determine the presentation of the category axis.
     */
    @JvmName("gcrmyhiieguxnbqn")
    public suspend fun categoryAxisDisplayOptions(`value`: DashboardAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryAxisDisplayOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the category axis.
     */
    @JvmName("apjdjkmsyfsgblnp")
    public suspend fun categoryAxisDisplayOptions(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryAxisDisplayOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the category axis label.
     */
    @JvmName("lpoxfqskahdtiurd")
    public suspend fun categoryAxisLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryAxisLabelOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the category axis label.
     */
    @JvmName("wbioyioeetmegwbf")
    public suspend fun categoryAxisLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryAxisLabelOptions = mapped
    }

    /**
     * @param value The color configuration of a waterfall visual.
     */
    @JvmName("uyoluaivsmwoyrig")
    public suspend fun colorConfiguration(`value`: DashboardWaterfallChartColorConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.colorConfiguration = mapped
    }

    /**
     * @param argument The color configuration of a waterfall visual.
     */
    @JvmName("acgqgiyvoouyigqy")
    public suspend fun colorConfiguration(argument: suspend DashboardWaterfallChartColorConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardWaterfallChartColorConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.colorConfiguration = mapped
    }

    /**
     * @param value The data label configuration of a waterfall visual.
     */
    @JvmName("sdibawwsvhetmpie")
    public suspend fun dataLabels(`value`: DashboardDataLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLabels = mapped
    }

    /**
     * @param argument The data label configuration of a waterfall visual.
     */
    @JvmName("atghcxyjremtsbvd")
    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 well configuration of a waterfall visual.
     */
    @JvmName("sflcuxwdmsnrboro")
    public suspend fun fieldWells(`value`: DashboardWaterfallChartFieldWellsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldWells = mapped
    }

    /**
     * @param argument The field well configuration of a waterfall visual.
     */
    @JvmName("fbdsttkqcdimimna")
    public suspend fun fieldWells(argument: suspend DashboardWaterfallChartFieldWellsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardWaterfallChartFieldWellsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.fieldWells = mapped
    }

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

    /**
     * @param argument The legend configuration of a waterfall visual.
     */
    @JvmName("jgssgkygmmexlxss")
    public suspend fun legend(argument: suspend DashboardLegendOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardLegendOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.legend = mapped
    }

    /**
     * @param value The options that determine the presentation of the y-axis.
     */
    @JvmName("vkjqslgympuyeaqc")
    public suspend fun primaryYAxisDisplayOptions(`value`: DashboardAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryYAxisDisplayOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the y-axis.
     */
    @JvmName("wjctogguewcdfbjh")
    public suspend fun primaryYAxisDisplayOptions(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisDisplayOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the y-axis label.
     */
    @JvmName("xcxnlngdnnfivbpp")
    public suspend fun primaryYAxisLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryYAxisLabelOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the y-axis label.
     */
    @JvmName("ucjqdhtlxsueelck")
    public suspend fun primaryYAxisLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisLabelOptions = mapped
    }

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

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

    /**
     * @param value The visual palette configuration of a waterfall visual.
     */
    @JvmName("yttrqbxhmsebeywa")
    public suspend fun visualPalette(`value`: DashboardVisualPaletteArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visualPalette = mapped
    }

    /**
     * @param argument The visual palette configuration of a waterfall visual.
     */
    @JvmName("qtbevfijbxjeqwqg")
    public suspend fun visualPalette(argument: suspend DashboardVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardVisualPaletteArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.visualPalette = mapped
    }

    /**
     * @param value The options that determine the presentation of a waterfall visual.
     */
    @JvmName("bufgrcgdmkakcjbq")
    public suspend fun waterfallChartOptions(`value`: DashboardWaterfallChartOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.waterfallChartOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of a waterfall visual.
     */
    @JvmName("ejsbhauougowsmox")
    public suspend fun waterfallChartOptions(argument: suspend DashboardWaterfallChartOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardWaterfallChartOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.waterfallChartOptions = mapped
    }

    internal fun build(): DashboardWaterfallChartConfigurationArgs =
        DashboardWaterfallChartConfigurationArgs(
            categoryAxisDisplayOptions = categoryAxisDisplayOptions,
            categoryAxisLabelOptions = categoryAxisLabelOptions,
            colorConfiguration = colorConfiguration,
            dataLabels = dataLabels,
            fieldWells = fieldWells,
            legend = legend,
            primaryYAxisDisplayOptions = primaryYAxisDisplayOptions,
            primaryYAxisLabelOptions = primaryYAxisLabelOptions,
            sortConfiguration = sortConfiguration,
            visualPalette = visualPalette,
            waterfallChartOptions = waterfallChartOptions,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy