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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisTextConditionalFormatArgs.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.AnalysisTextConditionalFormatArgs.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 backgroundColor The conditional formatting for the text background color.
 * @property icon The conditional formatting for the icon.
 * @property textColor The conditional formatting for the text color.
 */
public data class AnalysisTextConditionalFormatArgs(
    public val backgroundColor: Output? = null,
    public val icon: Output? = null,
    public val textColor: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisTextConditionalFormatArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisTextConditionalFormatArgs.builder()
            .backgroundColor(backgroundColor?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .icon(icon?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .textColor(textColor?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AnalysisTextConditionalFormatArgs].
 */
@PulumiTagMarker
public class AnalysisTextConditionalFormatArgsBuilder internal constructor() {
    private var backgroundColor: Output? = null

    private var icon: Output? = null

    private var textColor: Output? = null

    /**
     * @param value The conditional formatting for the text background color.
     */
    @JvmName("urmbfxgkrtbimcxq")
    public suspend fun backgroundColor(`value`: Output) {
        this.backgroundColor = value
    }

    /**
     * @param value The conditional formatting for the icon.
     */
    @JvmName("fjknpjpliudmpeou")
    public suspend fun icon(`value`: Output) {
        this.icon = value
    }

    /**
     * @param value The conditional formatting for the text color.
     */
    @JvmName("qjuvihjomjlrloxu")
    public suspend fun textColor(`value`: Output) {
        this.textColor = value
    }

    /**
     * @param value The conditional formatting for the text background color.
     */
    @JvmName("nwplaldmycxswqjp")
    public suspend fun backgroundColor(`value`: AnalysisConditionalFormattingColorArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.backgroundColor = mapped
    }

    /**
     * @param argument The conditional formatting for the text background color.
     */
    @JvmName("fvfvlnjjokuxngba")
    public suspend fun backgroundColor(argument: suspend AnalysisConditionalFormattingColorArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisConditionalFormattingColorArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.backgroundColor = mapped
    }

    /**
     * @param value The conditional formatting for the icon.
     */
    @JvmName("tcwcjrtlskqkmspp")
    public suspend fun icon(`value`: AnalysisConditionalFormattingIconArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.icon = mapped
    }

    /**
     * @param argument The conditional formatting for the icon.
     */
    @JvmName("bwuwslgmpqwwmbye")
    public suspend fun icon(argument: suspend AnalysisConditionalFormattingIconArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisConditionalFormattingIconArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.icon = mapped
    }

    /**
     * @param value The conditional formatting for the text color.
     */
    @JvmName("lfrxcrbxhdojmhfe")
    public suspend fun textColor(`value`: AnalysisConditionalFormattingColorArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.textColor = mapped
    }

    /**
     * @param argument The conditional formatting for the text color.
     */
    @JvmName("vupptfjykbfflsqg")
    public suspend fun textColor(argument: suspend AnalysisConditionalFormattingColorArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisConditionalFormattingColorArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.textColor = mapped
    }

    internal fun build(): AnalysisTextConditionalFormatArgs = AnalysisTextConditionalFormatArgs(
        backgroundColor = backgroundColor,
        icon = icon,
        textColor = textColor,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy