
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardKpiPrimaryValueConditionalFormattingArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardKpiPrimaryValueConditionalFormattingArgs.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 icon The conditional formatting of the primary value's icon.
* @property textColor The conditional formatting of the primary value's text color.
*/
public data class DashboardKpiPrimaryValueConditionalFormattingArgs(
public val icon: Output? = null,
public val textColor: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardKpiPrimaryValueConditionalFormattingArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardKpiPrimaryValueConditionalFormattingArgs.builder()
.icon(icon?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.textColor(textColor?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DashboardKpiPrimaryValueConditionalFormattingArgs].
*/
@PulumiTagMarker
public class DashboardKpiPrimaryValueConditionalFormattingArgsBuilder internal constructor() {
private var icon: Output? = null
private var textColor: Output? = null
/**
* @param value The conditional formatting of the primary value's icon.
*/
@JvmName("ioxtligunrxpheyp")
public suspend fun icon(`value`: Output) {
this.icon = value
}
/**
* @param value The conditional formatting of the primary value's text color.
*/
@JvmName("aboodprgijimoqgi")
public suspend fun textColor(`value`: Output) {
this.textColor = value
}
/**
* @param value The conditional formatting of the primary value's icon.
*/
@JvmName("atqsjrovpvaahrgc")
public suspend fun icon(`value`: DashboardConditionalFormattingIconArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.icon = mapped
}
/**
* @param argument The conditional formatting of the primary value's icon.
*/
@JvmName("kkguksfdoexgmtwp")
public suspend fun icon(argument: suspend DashboardConditionalFormattingIconArgsBuilder.() -> Unit) {
val toBeMapped = DashboardConditionalFormattingIconArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.icon = mapped
}
/**
* @param value The conditional formatting of the primary value's text color.
*/
@JvmName("rwbaiocxieayygus")
public suspend fun textColor(`value`: DashboardConditionalFormattingColorArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.textColor = mapped
}
/**
* @param argument The conditional formatting of the primary value's text color.
*/
@JvmName("mkojtwmuecbojuek")
public suspend fun textColor(argument: suspend DashboardConditionalFormattingColorArgsBuilder.() -> Unit) {
val toBeMapped = DashboardConditionalFormattingColorArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.textColor = mapped
}
internal fun build(): DashboardKpiPrimaryValueConditionalFormattingArgs =
DashboardKpiPrimaryValueConditionalFormattingArgs(
icon = icon,
textColor = textColor,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy