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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardGaugeChartConditionalFormattingOptionArgs.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.DashboardGaugeChartConditionalFormattingOptionArgs.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 arc The options that determine the presentation of the arc of a `GaugeChartVisual` .
 * @property primaryValue The conditional formatting for the primary value of a `GaugeChartVisual` .
 */
public data class DashboardGaugeChartConditionalFormattingOptionArgs(
    public val arc: Output? = null,
    public val primaryValue: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardGaugeChartConditionalFormattingOptionArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardGaugeChartConditionalFormattingOptionArgs.builder()
            .arc(arc?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .primaryValue(primaryValue?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DashboardGaugeChartConditionalFormattingOptionArgs].
 */
@PulumiTagMarker
public class DashboardGaugeChartConditionalFormattingOptionArgsBuilder internal constructor() {
    private var arc: Output? = null

    private var primaryValue: Output? = null

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

    /**
     * @param value The conditional formatting for the primary value of a `GaugeChartVisual` .
     */
    @JvmName("uhiubebiifmcmfwc")
    public suspend fun primaryValue(`value`: Output) {
        this.primaryValue = value
    }

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

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

    /**
     * @param value The conditional formatting for the primary value of a `GaugeChartVisual` .
     */
    @JvmName("kkynthgpwkiujten")
    public suspend fun primaryValue(`value`: DashboardGaugeChartPrimaryValueConditionalFormattingArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryValue = mapped
    }

    /**
     * @param argument The conditional formatting for the primary value of a `GaugeChartVisual` .
     */
    @JvmName("nihghfmwsofvsgem")
    public suspend fun primaryValue(argument: suspend DashboardGaugeChartPrimaryValueConditionalFormattingArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardGaugeChartPrimaryValueConditionalFormattingArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.primaryValue = mapped
    }

    internal fun build(): DashboardGaugeChartConditionalFormattingOptionArgs =
        DashboardGaugeChartConditionalFormattingOptionArgs(
            arc = arc,
            primaryValue = primaryValue,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy