
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisKpiOptions.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.AnalysisPrimaryValueDisplayType
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 AnalysisKpiOptions(
public val comparison: AnalysisComparisonConfiguration? = null,
public val primaryValueDisplayType: AnalysisPrimaryValueDisplayType? = null,
public val primaryValueFontConfiguration: AnalysisFontConfiguration? = null,
public val progressBar: AnalysisProgressBarOptions? = null,
public val secondaryValue: AnalysisSecondaryValueOptions? = null,
public val secondaryValueFontConfiguration: AnalysisFontConfiguration? = null,
public val sparkline: AnalysisKpiSparklineOptions? = null,
public val trendArrows: AnalysisTrendArrowOptions? = null,
public val visualLayoutOptions: AnalysisKpiVisualLayoutOptions? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisKpiOptions): AnalysisKpiOptions = AnalysisKpiOptions(
comparison = javaType.comparison().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisComparisonConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
primaryValueDisplayType = javaType.primaryValueDisplayType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisPrimaryValueDisplayType.Companion.toKotlin(args0)
})
}).orElse(null),
primaryValueFontConfiguration = javaType.primaryValueFontConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFontConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
progressBar = javaType.progressBar().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisProgressBarOptions.Companion.toKotlin(args0)
})
}).orElse(null),
secondaryValue = javaType.secondaryValue().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisSecondaryValueOptions.Companion.toKotlin(args0)
})
}).orElse(null),
secondaryValueFontConfiguration = javaType.secondaryValueFontConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisFontConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
sparkline = javaType.sparkline().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisKpiSparklineOptions.Companion.toKotlin(args0)
})
}).orElse(null),
trendArrows = javaType.trendArrows().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTrendArrowOptions.Companion.toKotlin(args0)
})
}).orElse(null),
visualLayoutOptions = javaType.visualLayoutOptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisKpiVisualLayoutOptions.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy