com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardTableConditionalFormattingOptionArgs.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.DashboardTableConditionalFormattingOptionArgs.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 cell The cell conditional formatting option for a table.
* @property row The row conditional formatting option for a table.
*/
public data class DashboardTableConditionalFormattingOptionArgs(
public val cell: Output? = null,
public val row: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardTableConditionalFormattingOptionArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardTableConditionalFormattingOptionArgs.builder()
.cell(cell?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.row(row?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DashboardTableConditionalFormattingOptionArgs].
*/
@PulumiTagMarker
public class DashboardTableConditionalFormattingOptionArgsBuilder internal constructor() {
private var cell: Output? = null
private var row: Output? = null
/**
* @param value The cell conditional formatting option for a table.
*/
@JvmName("klycsoixvqfyeqgr")
public suspend fun cell(`value`: Output) {
this.cell = value
}
/**
* @param value The row conditional formatting option for a table.
*/
@JvmName("clupirfjdncnadef")
public suspend fun row(`value`: Output) {
this.row = value
}
/**
* @param value The cell conditional formatting option for a table.
*/
@JvmName("tximlrjcghwsbole")
public suspend fun cell(`value`: DashboardTableCellConditionalFormattingArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cell = mapped
}
/**
* @param argument The cell conditional formatting option for a table.
*/
@JvmName("sxvbsmwichxwtoxs")
public suspend fun cell(argument: suspend DashboardTableCellConditionalFormattingArgsBuilder.() -> Unit) {
val toBeMapped = DashboardTableCellConditionalFormattingArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.cell = mapped
}
/**
* @param value The row conditional formatting option for a table.
*/
@JvmName("yqdarftxpboiylqq")
public suspend fun row(`value`: DashboardTableRowConditionalFormattingArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.row = mapped
}
/**
* @param argument The row conditional formatting option for a table.
*/
@JvmName("yreckuyvlewyfgnq")
public suspend fun row(argument: suspend DashboardTableRowConditionalFormattingArgsBuilder.() -> Unit) {
val toBeMapped = DashboardTableRowConditionalFormattingArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.row = mapped
}
internal fun build(): DashboardTableConditionalFormattingOptionArgs =
DashboardTableConditionalFormattingOptionArgs(
cell = cell,
row = row,
)
}