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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateGaugeChartConfigurationArgs.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 dataLabels The data label configuration of a `GaugeChartVisual` .
 * @property fieldWells The field well configuration of a `GaugeChartVisual` .
 * @property gaugeChartOptions The options that determine the presentation of the `GaugeChartVisual` .
 * @property tooltipOptions The tooltip configuration of a `GaugeChartVisual` .
 * @property visualPalette The visual palette configuration of a `GaugeChartVisual` .
 */
public data class TemplateGaugeChartConfigurationArgs(
    public val dataLabels: Output? = null,
    public val fieldWells: Output? = null,
    public val gaugeChartOptions: Output? = null,
    public val tooltipOptions: Output? = null,
    public val visualPalette: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateGaugeChartConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.TemplateGaugeChartConfigurationArgs.builder()
        .dataLabels(dataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .gaugeChartOptions(gaugeChartOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .tooltipOptions(tooltipOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .visualPalette(visualPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TemplateGaugeChartConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateGaugeChartConfigurationArgsBuilder internal constructor() {
    private var dataLabels: Output? = null

    private var fieldWells: Output? = null

    private var gaugeChartOptions: Output? = null

    private var tooltipOptions: Output? = null

    private var visualPalette: Output? = null

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

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

    /**
     * @param value The options that determine the presentation of the `GaugeChartVisual` .
     */
    @JvmName("iesxkkdeykrjnrcm")
    public suspend fun gaugeChartOptions(`value`: Output) {
        this.gaugeChartOptions = value
    }

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

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

    /**
     * @param value The data label configuration of a `GaugeChartVisual` .
     */
    @JvmName("ucrtmbdqvrwrtito")
    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 `GaugeChartVisual` .
     */
    @JvmName("nibanwhcxsfixfgl")
    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 `GaugeChartVisual` .
     */
    @JvmName("corruahgqnkvpaaw")
    public suspend fun fieldWells(`value`: TemplateGaugeChartFieldWellsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldWells = mapped
    }

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

    /**
     * @param value The options that determine the presentation of the `GaugeChartVisual` .
     */
    @JvmName("ysvnqknxbtpewitk")
    public suspend fun gaugeChartOptions(`value`: TemplateGaugeChartOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.gaugeChartOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the `GaugeChartVisual` .
     */
    @JvmName("ahvrinhuxrlnloua")
    public suspend fun gaugeChartOptions(argument: suspend TemplateGaugeChartOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateGaugeChartOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.gaugeChartOptions = mapped
    }

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

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

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

    internal fun build(): TemplateGaugeChartConfigurationArgs = TemplateGaugeChartConfigurationArgs(
        dataLabels = dataLabels,
        fieldWells = fieldWells,
        gaugeChartOptions = gaugeChartOptions,
        tooltipOptions = tooltipOptions,
        visualPalette = visualPalette,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy