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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateGaugeChartOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplatePrimaryValueDisplayType
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 arc configuration of a `GaugeChartVisual` .
 * @property arcAxis The arc axis configuration of a `GaugeChartVisual` .
 * @property comparison The comparison configuration of a `GaugeChartVisual` .
 * @property primaryValueDisplayType The options that determine the primary value display type.
 * @property primaryValueFontConfiguration The options that determine the primary value font configuration.
 */
public data class TemplateGaugeChartOptionsArgs(
    public val arc: Output? = null,
    public val arcAxis: Output? = null,
    public val comparison: Output? = null,
    public val primaryValueDisplayType: Output? = null,
    public val primaryValueFontConfiguration: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateGaugeChartOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateGaugeChartOptionsArgs.builder()
            .arc(arc?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .arcAxis(arcAxis?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .comparison(comparison?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .primaryValueDisplayType(
                primaryValueDisplayType?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .primaryValueFontConfiguration(
                primaryValueFontConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            ).build()
}

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

    private var arcAxis: Output? = null

    private var comparison: Output? = null

    private var primaryValueDisplayType: Output? = null

    private var primaryValueFontConfiguration: Output? = null

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

    /**
     * @param value The arc axis configuration of a `GaugeChartVisual` .
     */
    @JvmName("ywoqqmwntqmniriw")
    public suspend fun arcAxis(`value`: Output) {
        this.arcAxis = value
    }

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

    /**
     * @param value The options that determine the primary value display type.
     */
    @JvmName("fcspqfdjbxarnflj")
    public suspend fun primaryValueDisplayType(`value`: Output) {
        this.primaryValueDisplayType = value
    }

    /**
     * @param value The options that determine the primary value font configuration.
     */
    @JvmName("fhdliimibjwawcjo")
    public suspend fun primaryValueFontConfiguration(`value`: Output) {
        this.primaryValueFontConfiguration = value
    }

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

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

    /**
     * @param value The arc axis configuration of a `GaugeChartVisual` .
     */
    @JvmName("wsduuebedflynxyh")
    public suspend fun arcAxis(`value`: TemplateArcAxisConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.arcAxis = mapped
    }

    /**
     * @param argument The arc axis configuration of a `GaugeChartVisual` .
     */
    @JvmName("ylijeynqbovivxmt")
    public suspend fun arcAxis(argument: suspend TemplateArcAxisConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateArcAxisConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.arcAxis = mapped
    }

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

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

    /**
     * @param value The options that determine the primary value display type.
     */
    @JvmName("qvylkcpagkqquldb")
    public suspend fun primaryValueDisplayType(`value`: TemplatePrimaryValueDisplayType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryValueDisplayType = mapped
    }

    /**
     * @param value The options that determine the primary value font configuration.
     */
    @JvmName("mwnonvetovsvrslh")
    public suspend fun primaryValueFontConfiguration(`value`: TemplateFontConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryValueFontConfiguration = mapped
    }

    /**
     * @param argument The options that determine the primary value font configuration.
     */
    @JvmName("cvltvrauhceayckk")
    public suspend fun primaryValueFontConfiguration(argument: suspend TemplateFontConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateFontConfigurationArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryValueFontConfiguration = mapped
    }

    internal fun build(): TemplateGaugeChartOptionsArgs = TemplateGaugeChartOptionsArgs(
        arc = arc,
        arcAxis = arcAxis,
        comparison = comparison,
        primaryValueDisplayType = primaryValueDisplayType,
        primaryValueFontConfiguration = primaryValueFontConfiguration,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy