
com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisKpiProgressBarConditionalFormattingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisKpiProgressBarConditionalFormattingArgs.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 foregroundColor The conditional formatting of the progress bar's foreground color.
*/
public data class AnalysisKpiProgressBarConditionalFormattingArgs(
public val foregroundColor: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisKpiProgressBarConditionalFormattingArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisKpiProgressBarConditionalFormattingArgs.builder()
.foregroundColor(
foregroundColor?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [AnalysisKpiProgressBarConditionalFormattingArgs].
*/
@PulumiTagMarker
public class AnalysisKpiProgressBarConditionalFormattingArgsBuilder internal constructor() {
private var foregroundColor: Output? = null
/**
* @param value The conditional formatting of the progress bar's foreground color.
*/
@JvmName("hjyvxeatctkliemw")
public suspend fun foregroundColor(`value`: Output) {
this.foregroundColor = value
}
/**
* @param value The conditional formatting of the progress bar's foreground color.
*/
@JvmName("icqvqqwusfjiexpy")
public suspend fun foregroundColor(`value`: AnalysisConditionalFormattingColorArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.foregroundColor = mapped
}
/**
* @param argument The conditional formatting of the progress bar's foreground color.
*/
@JvmName("qwrffdosciqhhjmf")
public suspend fun foregroundColor(argument: suspend AnalysisConditionalFormattingColorArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisConditionalFormattingColorArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.foregroundColor = mapped
}
internal fun build(): AnalysisKpiProgressBarConditionalFormattingArgs =
AnalysisKpiProgressBarConditionalFormattingArgs(
foregroundColor = foregroundColor,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy