com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisPivotTableConditionalFormattingOptionArgs.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.AnalysisPivotTableConditionalFormattingOptionArgs.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 pivot table.
*/
public data class AnalysisPivotTableConditionalFormattingOptionArgs(
public val cell: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisPivotTableConditionalFormattingOptionArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisPivotTableConditionalFormattingOptionArgs.builder()
.cell(cell?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisPivotTableConditionalFormattingOptionArgs].
*/
@PulumiTagMarker
public class AnalysisPivotTableConditionalFormattingOptionArgsBuilder internal constructor() {
private var cell: Output? = null
/**
* @param value The cell conditional formatting option for a pivot table.
*/
@JvmName("ayrapfdhgpnisgfj")
public suspend fun cell(`value`: Output) {
this.cell = value
}
/**
* @param value The cell conditional formatting option for a pivot table.
*/
@JvmName("wjomxvhqshvplexu")
public suspend fun cell(`value`: AnalysisPivotTableCellConditionalFormattingArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.cell = mapped
}
/**
* @param argument The cell conditional formatting option for a pivot table.
*/
@JvmName("gwnfymchhtqgjmif")
public suspend fun cell(argument: suspend AnalysisPivotTableCellConditionalFormattingArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisPivotTableCellConditionalFormattingArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.cell = mapped
}
internal fun build(): AnalysisPivotTableConditionalFormattingOptionArgs =
AnalysisPivotTableConditionalFormattingOptionArgs(
cell = cell,
)
}