com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateKpiVisual.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 KPI visual.
* @property columnHierarchies The column hierarchy that is used during drill-downs and drill-ups.
* @property conditionalFormatting The conditional formatting of a KPI visual.
* @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 TemplateKpiVisual(
public val actions: List? = null,
public val chartConfiguration: TemplateKpiConfiguration? = null,
public val columnHierarchies: List? = null,
public val conditionalFormatting: TemplateKpiConditionalFormatting? = null,
public val subtitle: TemplateVisualSubtitleLabelOptions? = null,
public val title: TemplateVisualTitleLabelOptions? = null,
public val visualId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateKpiVisual): TemplateKpiVisual = TemplateKpiVisual(
actions = javaType.actions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateVisualCustomAction.Companion.toKotlin(args0)
})
}),
chartConfiguration = javaType.chartConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateKpiConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
columnHierarchies = javaType.columnHierarchies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateColumnHierarchy.Companion.toKotlin(args0)
})
}),
conditionalFormatting = javaType.conditionalFormatting().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateKpiConditionalFormatting.Companion.toKotlin(args0)
})
}).orElse(null),
subtitle = javaType.subtitle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateVisualSubtitleLabelOptions.Companion.toKotlin(args0)
})
}).orElse(null),
title = javaType.title().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateVisualTitleLabelOptions.Companion.toKotlin(args0)
})
}).orElse(null),
visualId = javaType.visualId(),
)
}
}