
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateTableRowConditionalFormattingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateTableRowConditionalFormattingArgs.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 color (solid, gradient) of the background for a table row.
* @property textColor The conditional formatting color (solid, gradient) of the text for a table row.
*/
public data class TemplateTableRowConditionalFormattingArgs(
public val backgroundColor: Output? = null,
public val textColor: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateTableRowConditionalFormattingArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateTableRowConditionalFormattingArgs.builder()
.backgroundColor(backgroundColor?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.textColor(textColor?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateTableRowConditionalFormattingArgs].
*/
@PulumiTagMarker
public class TemplateTableRowConditionalFormattingArgsBuilder internal constructor() {
private var backgroundColor: Output? = null
private var textColor: Output? = null
/**
* @param value The conditional formatting color (solid, gradient) of the background for a table row.
*/
@JvmName("bbmybbpqmhpnukod")
public suspend fun backgroundColor(`value`: Output) {
this.backgroundColor = value
}
/**
* @param value The conditional formatting color (solid, gradient) of the text for a table row.
*/
@JvmName("bueuioyrhwdggdwr")
public suspend fun textColor(`value`: Output) {
this.textColor = value
}
/**
* @param value The conditional formatting color (solid, gradient) of the background for a table row.
*/
@JvmName("rgcrdituwqcieddm")
public suspend fun backgroundColor(`value`: TemplateConditionalFormattingColorArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.backgroundColor = mapped
}
/**
* @param argument The conditional formatting color (solid, gradient) of the background for a table row.
*/
@JvmName("jydfoobffhgahqou")
public suspend fun backgroundColor(argument: suspend TemplateConditionalFormattingColorArgsBuilder.() -> Unit) {
val toBeMapped = TemplateConditionalFormattingColorArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.backgroundColor = mapped
}
/**
* @param value The conditional formatting color (solid, gradient) of the text for a table row.
*/
@JvmName("lgsxghfjfxoquxlm")
public suspend fun textColor(`value`: TemplateConditionalFormattingColorArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.textColor = mapped
}
/**
* @param argument The conditional formatting color (solid, gradient) of the text for a table row.
*/
@JvmName("ouuhiwmubvquamgp")
public suspend fun textColor(argument: suspend TemplateConditionalFormattingColorArgsBuilder.() -> Unit) {
val toBeMapped = TemplateConditionalFormattingColorArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.textColor = mapped
}
internal fun build(): TemplateTableRowConditionalFormattingArgs =
TemplateTableRowConditionalFormattingArgs(
backgroundColor = backgroundColor,
textColor = textColor,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy