
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateKpiConditionalFormattingOptionArgs.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.TemplateKpiConditionalFormattingOptionArgs.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 actualValue The conditional formatting for the actual value of a KPI visual.
* @property comparisonValue The conditional formatting for the comparison value of a KPI visual.
* @property primaryValue The conditional formatting for the primary value of a KPI visual.
* @property progressBar The conditional formatting for the progress bar of a KPI visual.
*/
public data class TemplateKpiConditionalFormattingOptionArgs(
public val actualValue: Output? = null,
public val comparisonValue: Output? = null,
public val primaryValue: Output? = null,
public val progressBar: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateKpiConditionalFormattingOptionArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateKpiConditionalFormattingOptionArgs.builder()
.actualValue(actualValue?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.comparisonValue(comparisonValue?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.primaryValue(primaryValue?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.progressBar(progressBar?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateKpiConditionalFormattingOptionArgs].
*/
@PulumiTagMarker
public class TemplateKpiConditionalFormattingOptionArgsBuilder internal constructor() {
private var actualValue: Output? = null
private var comparisonValue: Output? = null
private var primaryValue: Output? = null
private var progressBar: Output? = null
/**
* @param value The conditional formatting for the actual value of a KPI visual.
*/
@JvmName("dcjomieeockeqcrp")
public suspend fun actualValue(`value`: Output) {
this.actualValue = value
}
/**
* @param value The conditional formatting for the comparison value of a KPI visual.
*/
@JvmName("gvsbdtqfptcjprfc")
public suspend fun comparisonValue(`value`: Output) {
this.comparisonValue = value
}
/**
* @param value The conditional formatting for the primary value of a KPI visual.
*/
@JvmName("wolgsmgqaabouqee")
public suspend fun primaryValue(`value`: Output) {
this.primaryValue = value
}
/**
* @param value The conditional formatting for the progress bar of a KPI visual.
*/
@JvmName("ilevfjrgxipnherj")
public suspend fun progressBar(`value`: Output) {
this.progressBar = value
}
/**
* @param value The conditional formatting for the actual value of a KPI visual.
*/
@JvmName("vlsjapfakjcpxktv")
public suspend fun actualValue(`value`: TemplateKpiActualValueConditionalFormattingArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.actualValue = mapped
}
/**
* @param argument The conditional formatting for the actual value of a KPI visual.
*/
@JvmName("ibhjchbimxcoqtew")
public suspend fun actualValue(argument: suspend TemplateKpiActualValueConditionalFormattingArgsBuilder.() -> Unit) {
val toBeMapped = TemplateKpiActualValueConditionalFormattingArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.actualValue = mapped
}
/**
* @param value The conditional formatting for the comparison value of a KPI visual.
*/
@JvmName("dfllotqimdneufbn")
public suspend fun comparisonValue(`value`: TemplateKpiComparisonValueConditionalFormattingArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.comparisonValue = mapped
}
/**
* @param argument The conditional formatting for the comparison value of a KPI visual.
*/
@JvmName("joiqghunryaqsglo")
public suspend fun comparisonValue(argument: suspend TemplateKpiComparisonValueConditionalFormattingArgsBuilder.() -> Unit) {
val toBeMapped = TemplateKpiComparisonValueConditionalFormattingArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.comparisonValue = mapped
}
/**
* @param value The conditional formatting for the primary value of a KPI visual.
*/
@JvmName("kmtnydvmwarnlnba")
public suspend fun primaryValue(`value`: TemplateKpiPrimaryValueConditionalFormattingArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primaryValue = mapped
}
/**
* @param argument The conditional formatting for the primary value of a KPI visual.
*/
@JvmName("rcjupdhpoidqrgom")
public suspend fun primaryValue(argument: suspend TemplateKpiPrimaryValueConditionalFormattingArgsBuilder.() -> Unit) {
val toBeMapped = TemplateKpiPrimaryValueConditionalFormattingArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.primaryValue = mapped
}
/**
* @param value The conditional formatting for the progress bar of a KPI visual.
*/
@JvmName("ryqrgibjcthseggl")
public suspend fun progressBar(`value`: TemplateKpiProgressBarConditionalFormattingArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.progressBar = mapped
}
/**
* @param argument The conditional formatting for the progress bar of a KPI visual.
*/
@JvmName("yjlxaimoushdxmuy")
public suspend fun progressBar(argument: suspend TemplateKpiProgressBarConditionalFormattingArgsBuilder.() -> Unit) {
val toBeMapped = TemplateKpiProgressBarConditionalFormattingArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.progressBar = mapped
}
internal fun build(): TemplateKpiConditionalFormattingOptionArgs =
TemplateKpiConditionalFormattingOptionArgs(
actualValue = actualValue,
comparisonValue = comparisonValue,
primaryValue = primaryValue,
progressBar = progressBar,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy