com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateKpiComparisonValueConditionalFormattingArgs.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.TemplateKpiComparisonValueConditionalFormattingArgs.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 comparison value's icon.
* @property textColor The conditional formatting of the comparison value's text color.
*/
public data class TemplateKpiComparisonValueConditionalFormattingArgs(
public val icon: Output? = null,
public val textColor: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateKpiComparisonValueConditionalFormattingArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateKpiComparisonValueConditionalFormattingArgs.builder()
.icon(icon?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.textColor(textColor?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateKpiComparisonValueConditionalFormattingArgs].
*/
@PulumiTagMarker
public class TemplateKpiComparisonValueConditionalFormattingArgsBuilder internal constructor() {
private var icon: Output? = null
private var textColor: Output? = null
/**
* @param value The conditional formatting of the comparison value's icon.
*/
@JvmName("ragmydwwfxlwijcd")
public suspend fun icon(`value`: Output) {
this.icon = value
}
/**
* @param value The conditional formatting of the comparison value's text color.
*/
@JvmName("jmdjlpvayxurxjhb")
public suspend fun textColor(`value`: Output) {
this.textColor = value
}
/**
* @param value The conditional formatting of the comparison value's icon.
*/
@JvmName("dsrvwehkpthlgngt")
public suspend fun icon(`value`: TemplateConditionalFormattingIconArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.icon = mapped
}
/**
* @param argument The conditional formatting of the comparison value's icon.
*/
@JvmName("gfuafswvoehvqnes")
public suspend fun icon(argument: suspend TemplateConditionalFormattingIconArgsBuilder.() -> Unit) {
val toBeMapped = TemplateConditionalFormattingIconArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.icon = mapped
}
/**
* @param value The conditional formatting of the comparison value's text color.
*/
@JvmName("vtmfmgmlgdxvqmva")
public suspend fun textColor(`value`: TemplateConditionalFormattingColorArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.textColor = mapped
}
/**
* @param argument The conditional formatting of the comparison value's text color.
*/
@JvmName("wgrcukbjqaavgfpm")
public suspend fun textColor(argument: suspend TemplateConditionalFormattingColorArgsBuilder.() -> Unit) {
val toBeMapped = TemplateConditionalFormattingColorArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.textColor = mapped
}
internal fun build(): TemplateKpiComparisonValueConditionalFormattingArgs =
TemplateKpiComparisonValueConditionalFormattingArgs(
icon = icon,
textColor = textColor,
)
}