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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisFilledMapConditionalFormattingArgs.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.AnalysisFilledMapConditionalFormattingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 `FilledMapVisual` .
 */
public data class AnalysisFilledMapConditionalFormattingArgs(
    public val conditionalFormattingOptions: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisFilledMapConditionalFormattingArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisFilledMapConditionalFormattingArgs.builder()
            .conditionalFormattingOptions(
                conditionalFormattingOptions.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            ).build()
}

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

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

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

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

    /**
     * @param value Conditional formatting options of a `FilledMapVisual` .
     */
    @JvmName("yxxwopwdfafpojis")
    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 `FilledMapVisual` .
     */
    @JvmName("suakgelirkefhlpn")
    public suspend fun conditionalFormattingOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisFilledMapConditionalFormattingOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.conditionalFormattingOptions = mapped
    }

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

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

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

    internal fun build(): AnalysisFilledMapConditionalFormattingArgs =
        AnalysisFilledMapConditionalFormattingArgs(
            conditionalFormattingOptions = conditionalFormattingOptions ?: throw
                PulumiNullFieldException("conditionalFormattingOptions"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy