
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateKpiOptions.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.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplatePrimaryValueDisplayType
import kotlin.Suppress
/**
*
* @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 TemplateKpiOptions(
public val comparison: TemplateComparisonConfiguration? = null,
public val primaryValueDisplayType: TemplatePrimaryValueDisplayType? = null,
public val primaryValueFontConfiguration: TemplateFontConfiguration? = null,
public val progressBar: TemplateProgressBarOptions? = null,
public val secondaryValue: TemplateSecondaryValueOptions? = null,
public val secondaryValueFontConfiguration: TemplateFontConfiguration? = null,
public val sparkline: TemplateKpiSparklineOptions? = null,
public val trendArrows: TemplateTrendArrowOptions? = null,
public val visualLayoutOptions: TemplateKpiVisualLayoutOptions? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateKpiOptions): TemplateKpiOptions = TemplateKpiOptions(
comparison = javaType.comparison().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateComparisonConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
primaryValueDisplayType = javaType.primaryValueDisplayType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.TemplatePrimaryValueDisplayType.Companion.toKotlin(args0)
})
}).orElse(null),
primaryValueFontConfiguration = javaType.primaryValueFontConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateFontConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
progressBar = javaType.progressBar().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateProgressBarOptions.Companion.toKotlin(args0)
})
}).orElse(null),
secondaryValue = javaType.secondaryValue().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSecondaryValueOptions.Companion.toKotlin(args0)
})
}).orElse(null),
secondaryValueFontConfiguration = javaType.secondaryValueFontConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateFontConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
sparkline = javaType.sparkline().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateKpiSparklineOptions.Companion.toKotlin(args0)
})
}).orElse(null),
trendArrows = javaType.trendArrows().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTrendArrowOptions.Companion.toKotlin(args0)
})
}).orElse(null),
visualLayoutOptions = javaType.visualLayoutOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateKpiVisualLayoutOptions.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy