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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy