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

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

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

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

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

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

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

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

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

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

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

    /**
     * @param value The options that determine the presentation of the `GaugeChartVisual` .
     */
    @JvmName("aextrdnbttmpyoix")
    public suspend fun gaugeChartOptions(`value`: DashboardGaugeChartOptionsArgs?) {
        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("xlqqdrfpskydqidm")
    public suspend fun gaugeChartOptions(argument: suspend DashboardGaugeChartOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardGaugeChartOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.gaugeChartOptions = mapped
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy