All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardKpiVisual.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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 DashboardKpiVisual(
    public val actions: List? = null,
    public val chartConfiguration: DashboardKpiConfiguration? = null,
    public val columnHierarchies: List? = null,
    public val conditionalFormatting: DashboardKpiConditionalFormatting? = null,
    public val subtitle: DashboardVisualSubtitleLabelOptions? = null,
    public val title: DashboardVisualTitleLabelOptions? = null,
    public val visualId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardKpiVisual): DashboardKpiVisual = DashboardKpiVisual(
            actions = javaType.actions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVisualCustomAction.Companion.toKotlin(args0)
                })
            }),
            chartConfiguration = javaType.chartConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardKpiConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            columnHierarchies = javaType.columnHierarchies().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardColumnHierarchy.Companion.toKotlin(args0)
                })
            }),
            conditionalFormatting = javaType.conditionalFormatting().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardKpiConditionalFormatting.Companion.toKotlin(args0)
                })
            }).orElse(null),
            subtitle = javaType.subtitle().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVisualSubtitleLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            title = javaType.title().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVisualTitleLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            visualId = javaType.visualId(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy