![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardKpiOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DashboardKpiOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.DashboardPrimaryValueDisplayType
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 comparison The comparison configuration of a KPI visual.
* @property primaryValueDisplayType The options that determine the primary value display type.
* @property primaryValueFontConfiguration The options that determine the primary value font configuration.
* @property progressBar The options that determine the presentation of the progress bar of a KPI visual.
* @property secondaryValue The options that determine the presentation of the secondary value of a KPI visual.
* @property secondaryValueFontConfiguration The options that determine the secondary value font configuration.
* @property sparkline The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.
* @property trendArrows The options that determine the presentation of trend arrows in a KPI visual.
* @property visualLayoutOptions The options that determine the layout a KPI visual.
*/
public data class DashboardKpiOptionsArgs(
public val comparison: Output? = null,
public val primaryValueDisplayType: Output? = null,
public val primaryValueFontConfiguration: Output? = null,
public val progressBar: Output? = null,
public val secondaryValue: Output? = null,
public val secondaryValueFontConfiguration: Output? = null,
public val sparkline: Output? = null,
public val trendArrows: Output? = null,
public val visualLayoutOptions: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardKpiOptionsArgs =
com.pulumi.awsnative.quicksight.inputs.DashboardKpiOptionsArgs.builder()
.comparison(comparison?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.primaryValueDisplayType(
primaryValueDisplayType?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.primaryValueFontConfiguration(
primaryValueFontConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.progressBar(progressBar?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.secondaryValue(secondaryValue?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.secondaryValueFontConfiguration(
secondaryValueFontConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.sparkline(sparkline?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.trendArrows(trendArrows?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.visualLayoutOptions(
visualLayoutOptions?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DashboardKpiOptionsArgs].
*/
@PulumiTagMarker
public class DashboardKpiOptionsArgsBuilder internal constructor() {
private var comparison: Output? = null
private var primaryValueDisplayType: Output? = null
private var primaryValueFontConfiguration: Output? = null
private var progressBar: Output? = null
private var secondaryValue: Output? = null
private var secondaryValueFontConfiguration: Output? = null
private var sparkline: Output? = null
private var trendArrows: Output? = null
private var visualLayoutOptions: Output? = null
/**
* @param value The comparison configuration of a KPI visual.
*/
@JvmName("tohhcehtihlwpyna")
public suspend fun comparison(`value`: Output) {
this.comparison = value
}
/**
* @param value The options that determine the primary value display type.
*/
@JvmName("tppycmiendksiqxb")
public suspend fun primaryValueDisplayType(`value`: Output) {
this.primaryValueDisplayType = value
}
/**
* @param value The options that determine the primary value font configuration.
*/
@JvmName("ucsurnwlxaqsyayq")
public suspend fun primaryValueFontConfiguration(`value`: Output) {
this.primaryValueFontConfiguration = value
}
/**
* @param value The options that determine the presentation of the progress bar of a KPI visual.
*/
@JvmName("rfplsngfhqhqrqgh")
public suspend fun progressBar(`value`: Output) {
this.progressBar = value
}
/**
* @param value The options that determine the presentation of the secondary value of a KPI visual.
*/
@JvmName("xaoapsykvjvythgq")
public suspend fun secondaryValue(`value`: Output) {
this.secondaryValue = value
}
/**
* @param value The options that determine the secondary value font configuration.
*/
@JvmName("goylldntgwmuvarh")
public suspend fun secondaryValueFontConfiguration(`value`: Output) {
this.secondaryValueFontConfiguration = value
}
/**
* @param value The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.
*/
@JvmName("nboxmgbnofrevsnr")
public suspend fun sparkline(`value`: Output) {
this.sparkline = value
}
/**
* @param value The options that determine the presentation of trend arrows in a KPI visual.
*/
@JvmName("muqqcrqerobuxewn")
public suspend fun trendArrows(`value`: Output) {
this.trendArrows = value
}
/**
* @param value The options that determine the layout a KPI visual.
*/
@JvmName("kmckyptwacwtbbcc")
public suspend fun visualLayoutOptions(`value`: Output) {
this.visualLayoutOptions = value
}
/**
* @param value The comparison configuration of a KPI visual.
*/
@JvmName("oqwfjseccqpcuwid")
public suspend fun comparison(`value`: DashboardComparisonConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.comparison = mapped
}
/**
* @param argument The comparison configuration of a KPI visual.
*/
@JvmName("pgnjsbwfxvhqvdkk")
public suspend fun comparison(argument: suspend DashboardComparisonConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardComparisonConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.comparison = mapped
}
/**
* @param value The options that determine the primary value display type.
*/
@JvmName("pwlgpbnlenpgoqsw")
public suspend fun primaryValueDisplayType(`value`: DashboardPrimaryValueDisplayType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primaryValueDisplayType = mapped
}
/**
* @param value The options that determine the primary value font configuration.
*/
@JvmName("hvnerieefnrgjhqp")
public suspend fun primaryValueFontConfiguration(`value`: DashboardFontConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primaryValueFontConfiguration = mapped
}
/**
* @param argument The options that determine the primary value font configuration.
*/
@JvmName("vmxboynphohrcbay")
public suspend fun primaryValueFontConfiguration(argument: suspend DashboardFontConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFontConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.primaryValueFontConfiguration = mapped
}
/**
* @param value The options that determine the presentation of the progress bar of a KPI visual.
*/
@JvmName("hsewwrqxxmbxhjbl")
public suspend fun progressBar(`value`: DashboardProgressBarOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.progressBar = mapped
}
/**
* @param argument The options that determine the presentation of the progress bar of a KPI visual.
*/
@JvmName("msxaajjtwnhgroej")
public suspend fun progressBar(argument: suspend DashboardProgressBarOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardProgressBarOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.progressBar = mapped
}
/**
* @param value The options that determine the presentation of the secondary value of a KPI visual.
*/
@JvmName("qiuncwnyvtpjofiy")
public suspend fun secondaryValue(`value`: DashboardSecondaryValueOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secondaryValue = mapped
}
/**
* @param argument The options that determine the presentation of the secondary value of a KPI visual.
*/
@JvmName("bbrrrfcoykfljkao")
public suspend fun secondaryValue(argument: suspend DashboardSecondaryValueOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardSecondaryValueOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.secondaryValue = mapped
}
/**
* @param value The options that determine the secondary value font configuration.
*/
@JvmName("ymepbslwstbtkkgq")
public suspend fun secondaryValueFontConfiguration(`value`: DashboardFontConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secondaryValueFontConfiguration = mapped
}
/**
* @param argument The options that determine the secondary value font configuration.
*/
@JvmName("xtyvgkqqvxmcujkd")
public suspend fun secondaryValueFontConfiguration(argument: suspend DashboardFontConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DashboardFontConfigurationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.secondaryValueFontConfiguration = mapped
}
/**
* @param value The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.
*/
@JvmName("kudemcpcyjmtudyj")
public suspend fun sparkline(`value`: DashboardKpiSparklineOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sparkline = mapped
}
/**
* @param argument The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.
*/
@JvmName("refrpavovgneoiaa")
public suspend fun sparkline(argument: suspend DashboardKpiSparklineOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardKpiSparklineOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sparkline = mapped
}
/**
* @param value The options that determine the presentation of trend arrows in a KPI visual.
*/
@JvmName("aswxfevmdedrysht")
public suspend fun trendArrows(`value`: DashboardTrendArrowOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.trendArrows = mapped
}
/**
* @param argument The options that determine the presentation of trend arrows in a KPI visual.
*/
@JvmName("quxmafhetosuiofn")
public suspend fun trendArrows(argument: suspend DashboardTrendArrowOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardTrendArrowOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.trendArrows = mapped
}
/**
* @param value The options that determine the layout a KPI visual.
*/
@JvmName("xofirvqiawpxnmiq")
public suspend fun visualLayoutOptions(`value`: DashboardKpiVisualLayoutOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.visualLayoutOptions = mapped
}
/**
* @param argument The options that determine the layout a KPI visual.
*/
@JvmName("mvnpesgebkpxtanr")
public suspend fun visualLayoutOptions(argument: suspend DashboardKpiVisualLayoutOptionsArgsBuilder.() -> Unit) {
val toBeMapped = DashboardKpiVisualLayoutOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.visualLayoutOptions = mapped
}
internal fun build(): DashboardKpiOptionsArgs = DashboardKpiOptionsArgs(
comparison = comparison,
primaryValueDisplayType = primaryValueDisplayType,
primaryValueFontConfiguration = primaryValueFontConfiguration,
progressBar = progressBar,
secondaryValue = secondaryValue,
secondaryValueFontConfiguration = secondaryValueFontConfiguration,
sparkline = sparkline,
trendArrows = trendArrows,
visualLayoutOptions = visualLayoutOptions,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy