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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardPivotTableConditionalFormattingArgs.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.DashboardPivotTableConditionalFormattingArgs.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 for a `PivotTableVisual` .
 */
public data class DashboardPivotTableConditionalFormattingArgs(
    public val conditionalFormattingOptions: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableConditionalFormattingArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableConditionalFormattingArgs.builder()
            .conditionalFormattingOptions(
                conditionalFormattingOptions?.applyValue({ args0 ->
                    args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
                }),
            ).build()
}

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

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

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

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

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy