com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisGaugeChartVisual.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 kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property actions The list of custom actions that are configured for a visual.
* @property chartConfiguration The configuration of a `GaugeChartVisual` .
* @property conditionalFormatting The conditional formatting of a `GaugeChartVisual` .
* @property subtitle The subtitle that is displayed on the visual.
* @property title The title that is displayed on the visual.
* @property visualId The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.
*/
public data class AnalysisGaugeChartVisual(
public val actions: List? = null,
public val chartConfiguration: AnalysisGaugeChartConfiguration? = null,
public val conditionalFormatting: AnalysisGaugeChartConditionalFormatting? = null,
public val subtitle: AnalysisVisualSubtitleLabelOptions? = null,
public val title: AnalysisVisualTitleLabelOptions? = null,
public val visualId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisGaugeChartVisual): AnalysisGaugeChartVisual = AnalysisGaugeChartVisual(
actions = javaType.actions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisVisualCustomAction.Companion.toKotlin(args0)
})
}),
chartConfiguration = javaType.chartConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisGaugeChartConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
conditionalFormatting = javaType.conditionalFormatting().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisGaugeChartConditionalFormatting.Companion.toKotlin(args0)
})
}).orElse(null),
subtitle = javaType.subtitle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisVisualSubtitleLabelOptions.Companion.toKotlin(args0)
})
}).orElse(null),
title = javaType.title().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisVisualTitleLabelOptions.Companion.toKotlin(args0)
})
}).orElse(null),
visualId = javaType.visualId(),
)
}
}