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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateFunnelChartConfigurationArgs.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 categoryLabelOptions The label options of the categories that are displayed in a `FunnelChartVisual` .
 * @property dataLabelOptions The options that determine the presentation of the data labels.
 * @property fieldWells The field well configuration of a `FunnelChartVisual` .
 * @property sortConfiguration The sort configuration of a `FunnelChartVisual` .
 * @property tooltip The tooltip configuration of a `FunnelChartVisual` .
 * @property valueLabelOptions The label options for the values that are displayed in a `FunnelChartVisual` .
 * @property visualPalette The visual palette configuration of a `FunnelChartVisual` .
 */
public data class TemplateFunnelChartConfigurationArgs(
    public val categoryLabelOptions: Output? = null,
    public val dataLabelOptions: Output? = null,
    public val fieldWells: Output? = null,
    public val sortConfiguration: Output? = null,
    public val tooltip: Output? = null,
    public val valueLabelOptions: Output? = null,
    public val visualPalette: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateFunnelChartConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.TemplateFunnelChartConfigurationArgs.builder()
        .categoryLabelOptions(
            categoryLabelOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .dataLabelOptions(dataLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .fieldWells(fieldWells?.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() }) }))
        .valueLabelOptions(valueLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .visualPalette(visualPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TemplateFunnelChartConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateFunnelChartConfigurationArgsBuilder internal constructor() {
    private var categoryLabelOptions: Output? = null

    private var dataLabelOptions: Output? = null

    private var fieldWells: Output? = null

    private var sortConfiguration: Output? = null

    private var tooltip: Output? = null

    private var valueLabelOptions: Output? = null

    private var visualPalette: Output? = null

    /**
     * @param value The label options of the categories that are displayed in a `FunnelChartVisual` .
     */
    @JvmName("bndiacbfucqttmot")
    public suspend fun categoryLabelOptions(`value`: Output) {
        this.categoryLabelOptions = value
    }

    /**
     * @param value The options that determine the presentation of the data labels.
     */
    @JvmName("laweuqpdbksrxjor")
    public suspend fun dataLabelOptions(`value`: Output) {
        this.dataLabelOptions = value
    }

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

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

    /**
     * @param value The tooltip configuration of a `FunnelChartVisual` .
     */
    @JvmName("qshuuualrhyyxuhw")
    public suspend fun tooltip(`value`: Output) {
        this.tooltip = value
    }

    /**
     * @param value The label options for the values that are displayed in a `FunnelChartVisual` .
     */
    @JvmName("fbniyfknqqaldokf")
    public suspend fun valueLabelOptions(`value`: Output) {
        this.valueLabelOptions = value
    }

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

    /**
     * @param value The label options of the categories that are displayed in a `FunnelChartVisual` .
     */
    @JvmName("defktupyegdabvmj")
    public suspend fun categoryLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryLabelOptions = mapped
    }

    /**
     * @param argument The label options of the categories that are displayed in a `FunnelChartVisual` .
     */
    @JvmName("mcxpvwkdoectvyws")
    public suspend fun categoryLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryLabelOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the data labels.
     */
    @JvmName("kttuwrcpehbywewx")
    public suspend fun dataLabelOptions(`value`: TemplateFunnelChartDataLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLabelOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the data labels.
     */
    @JvmName("qjflwchspxemohtm")
    public suspend fun dataLabelOptions(argument: suspend TemplateFunnelChartDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateFunnelChartDataLabelOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.dataLabelOptions = mapped
    }

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

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

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

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

    /**
     * @param value The tooltip configuration of a `FunnelChartVisual` .
     */
    @JvmName("xgjuorfnxpcygors")
    public suspend fun tooltip(`value`: TemplateTooltipOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tooltip = mapped
    }

    /**
     * @param argument The tooltip configuration of a `FunnelChartVisual` .
     */
    @JvmName("exwcnihgfrbomspb")
    public suspend fun tooltip(argument: suspend TemplateTooltipOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateTooltipOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.tooltip = mapped
    }

    /**
     * @param value The label options for the values that are displayed in a `FunnelChartVisual` .
     */
    @JvmName("mtvjhpcalokpfeca")
    public suspend fun valueLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.valueLabelOptions = mapped
    }

    /**
     * @param argument The label options for the values that are displayed in a `FunnelChartVisual` .
     */
    @JvmName("ooswqyqefmqlbpnk")
    public suspend fun valueLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.valueLabelOptions = mapped
    }

    /**
     * @param value The visual palette configuration of a `FunnelChartVisual` .
     */
    @JvmName("shdushkhatjnmajq")
    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 `FunnelChartVisual` .
     */
    @JvmName("ghfnhryfbngahctd")
    public suspend fun visualPalette(argument: suspend TemplateVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateVisualPaletteArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.visualPalette = mapped
    }

    internal fun build(): TemplateFunnelChartConfigurationArgs = TemplateFunnelChartConfigurationArgs(
        categoryLabelOptions = categoryLabelOptions,
        dataLabelOptions = dataLabelOptions,
        fieldWells = fieldWells,
        sortConfiguration = sortConfiguration,
        tooltip = tooltip,
        valueLabelOptions = valueLabelOptions,
        visualPalette = visualPalette,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy