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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property colorLabelOptions The label options (label text, label visibility) for the colors displayed in a tree map.
 * @property colorScale The color options (gradient color, point of divergence) of a tree map.
 * @property dataLabels The options that determine if visual data labels are displayed.
 * @property fieldWells The field wells of the visual.
 * @property groupLabelOptions The label options (label text, label visibility) of the groups that are displayed in a tree map.
 * @property legend The legend display setup of the visual.
 * @property sizeLabelOptions The label options (label text, label visibility) of the sizes that are displayed in a tree map.
 * @property sortConfiguration The sort configuration of a tree map.
 * @property tooltip The tooltip display setup of the visual.
 */
public data class DashboardTreeMapConfiguration(
    public val colorLabelOptions: DashboardChartAxisLabelOptions? = null,
    public val colorScale: DashboardColorScale? = null,
    public val dataLabels: DashboardDataLabelOptions? = null,
    public val fieldWells: DashboardTreeMapFieldWells? = null,
    public val groupLabelOptions: DashboardChartAxisLabelOptions? = null,
    public val legend: DashboardLegendOptions? = null,
    public val sizeLabelOptions: DashboardChartAxisLabelOptions? = null,
    public val sortConfiguration: DashboardTreeMapSortConfiguration? = null,
    public val tooltip: DashboardTooltipOptions? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardTreeMapConfiguration): DashboardTreeMapConfiguration = DashboardTreeMapConfiguration(
            colorLabelOptions = javaType.colorLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            colorScale = javaType.colorScale().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardColorScale.Companion.toKotlin(args0)
                })
            }).orElse(null),
            dataLabels = javaType.dataLabels().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDataLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            fieldWells = javaType.fieldWells().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTreeMapFieldWells.Companion.toKotlin(args0)
                })
            }).orElse(null),
            groupLabelOptions = javaType.groupLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            legend = javaType.legend().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardLegendOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sizeLabelOptions = javaType.sizeLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sortConfiguration = javaType.sortConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTreeMapSortConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tooltip = javaType.tooltip().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTooltipOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy