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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisGaugeChartConditionalFormattingArgs.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.AnalysisGaugeChartConditionalFormattingArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property conditionalFormattingOptions Conditional formatting options of a `GaugeChartVisual` .
 */
public data class AnalysisGaugeChartConditionalFormattingArgs(
    public val conditionalFormattingOptions: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisGaugeChartConditionalFormattingArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisGaugeChartConditionalFormattingArgs.builder()
            .conditionalFormattingOptions(
                conditionalFormattingOptions?.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            ).build()
}

/**
 * Builder for [AnalysisGaugeChartConditionalFormattingArgs].
 */
@PulumiTagMarker
public class AnalysisGaugeChartConditionalFormattingArgsBuilder internal constructor() {
    private var conditionalFormattingOptions:
        Output>? = null

    /**
     * @param value Conditional formatting options of a `GaugeChartVisual` .
     */
    @JvmName("kqqrvakyofcepxpp")
    public suspend fun conditionalFormattingOptions(`value`: Output>) {
        this.conditionalFormattingOptions = value
    }

    @JvmName("hcpaionjvhpdatdl")
    public suspend fun conditionalFormattingOptions(vararg values: Output) {
        this.conditionalFormattingOptions = Output.all(values.asList())
    }

    /**
     * @param values Conditional formatting options of a `GaugeChartVisual` .
     */
    @JvmName("vevfoniacdoqnaqn")
    public suspend fun conditionalFormattingOptions(values: List>) {
        this.conditionalFormattingOptions = Output.all(values)
    }

    /**
     * @param value Conditional formatting options of a `GaugeChartVisual` .
     */
    @JvmName("tquqljyrnqrrngtd")
    public suspend fun conditionalFormattingOptions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.conditionalFormattingOptions = mapped
    }

    /**
     * @param argument Conditional formatting options of a `GaugeChartVisual` .
     */
    @JvmName("cqoceslrbfdiukec")
    public suspend fun conditionalFormattingOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisGaugeChartConditionalFormattingOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.conditionalFormattingOptions = mapped
    }

    /**
     * @param argument Conditional formatting options of a `GaugeChartVisual` .
     */
    @JvmName("lraclnvkpdsbuiog")
    public suspend fun conditionalFormattingOptions(vararg argument: suspend AnalysisGaugeChartConditionalFormattingOptionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisGaugeChartConditionalFormattingOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.conditionalFormattingOptions = mapped
    }

    /**
     * @param argument Conditional formatting options of a `GaugeChartVisual` .
     */
    @JvmName("abavvtssbxvhcvju")
    public suspend fun conditionalFormattingOptions(argument: suspend AnalysisGaugeChartConditionalFormattingOptionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            AnalysisGaugeChartConditionalFormattingOptionArgsBuilder().applySuspend
                { argument() }.build(),
        )
        val mapped = of(toBeMapped)
        this.conditionalFormattingOptions = mapped
    }

    /**
     * @param values Conditional formatting options of a `GaugeChartVisual` .
     */
    @JvmName("viohnlosveedyign")
    public suspend fun conditionalFormattingOptions(vararg values: AnalysisGaugeChartConditionalFormattingOptionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.conditionalFormattingOptions = mapped
    }

    internal fun build(): AnalysisGaugeChartConditionalFormattingArgs =
        AnalysisGaugeChartConditionalFormattingArgs(
            conditionalFormattingOptions = conditionalFormattingOptions,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy