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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateWaterfallChartConfigurationArgs.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.TemplateWaterfallChartConfigurationArgs.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 TemplateWaterfallChartConfigurationArgs(
    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.TemplateWaterfallChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateWaterfallChartConfigurationArgs.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 [TemplateWaterfallChartConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateWaterfallChartConfigurationArgsBuilder 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("fttfkbxpafbplhrm")
    public suspend fun categoryAxisDisplayOptions(`value`: Output) {
        this.categoryAxisDisplayOptions = value
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @param value The options that determine the presentation of the category axis.
     */
    @JvmName("cmsqkahikgnyajle")
    public suspend fun categoryAxisDisplayOptions(`value`: TemplateAxisDisplayOptionsArgs?) {
        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("jcwnxtmtghlxveof")
    public suspend fun categoryAxisDisplayOptions(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryAxisDisplayOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the category axis label.
     */
    @JvmName("iglnmqquboskrpej")
    public suspend fun categoryAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        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("aplqkawdhuxhadji")
    public suspend fun categoryAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryAxisLabelOptions = mapped
    }

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

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

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

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

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

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

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

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

    /**
     * @param value The options that determine the presentation of the y-axis.
     */
    @JvmName("orircaqdvrjjovcr")
    public suspend fun primaryYAxisDisplayOptions(`value`: TemplateAxisDisplayOptionsArgs?) {
        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("kktyubsjxujulvlm")
    public suspend fun primaryYAxisDisplayOptions(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisDisplayOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the y-axis label.
     */
    @JvmName("lrkckfqxpjsnqmlr")
    public suspend fun primaryYAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        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("ojqeoaiuurvyqgmd")
    public suspend fun primaryYAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisLabelOptions = mapped
    }

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

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

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

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

    /**
     * @param value The options that determine the presentation of a waterfall visual.
     */
    @JvmName("wswbvkokjomyyoeb")
    public suspend fun waterfallChartOptions(`value`: TemplateWaterfallChartOptionsArgs?) {
        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("rgqotsybtamlddfd")
    public suspend fun waterfallChartOptions(argument: suspend TemplateWaterfallChartOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateWaterfallChartOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.waterfallChartOptions = mapped
    }

    internal fun build(): TemplateWaterfallChartConfigurationArgs =
        TemplateWaterfallChartConfigurationArgs(
            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