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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePieChartConfiguration.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property categoryLabelOptions The label options of the group/color that is displayed in a pie chart.
 * @property contributionAnalysisDefaults The contribution analysis (anomaly configuration) setup of the visual.
 * @property dataLabels The options that determine if visual data labels are displayed.
 * @property donutOptions The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart.
 * @property fieldWells The field wells of the visual.
 * @property legend The legend display setup of the visual.
 * @property smallMultiplesOptions The small multiples setup for the visual.
 * @property sortConfiguration The sort configuration of a pie chart.
 * @property tooltip The tooltip display setup of the visual.
 * @property valueLabelOptions The label options for the value that is displayed in a pie chart.
 * @property visualPalette The palette (chart color) display setup of the visual.
 */
public data class TemplatePieChartConfiguration(
    public val categoryLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val contributionAnalysisDefaults: List? = null,
    public val dataLabels: TemplateDataLabelOptions? = null,
    public val donutOptions: TemplateDonutOptions? = null,
    public val fieldWells: TemplatePieChartFieldWells? = null,
    public val legend: TemplateLegendOptions? = null,
    public val smallMultiplesOptions: TemplateSmallMultiplesOptions? = null,
    public val sortConfiguration: TemplatePieChartSortConfiguration? = null,
    public val tooltip: TemplateTooltipOptions? = null,
    public val valueLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val visualPalette: TemplateVisualPalette? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplatePieChartConfiguration): TemplatePieChartConfiguration = TemplatePieChartConfiguration(
            categoryLabelOptions = javaType.categoryLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            contributionAnalysisDefaults = javaType.contributionAnalysisDefaults().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateContributionAnalysisDefault.Companion.toKotlin(args0)
                })
            }),
            dataLabels = javaType.dataLabels().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDataLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            donutOptions = javaType.donutOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDonutOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            fieldWells = javaType.fieldWells().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePieChartFieldWells.Companion.toKotlin(args0)
                })
            }).orElse(null),
            legend = javaType.legend().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateLegendOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            smallMultiplesOptions = javaType.smallMultiplesOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateSmallMultiplesOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sortConfiguration = javaType.sortConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplatePieChartSortConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tooltip = javaType.tooltip().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTooltipOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            valueLabelOptions = javaType.valueLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            visualPalette = javaType.visualPalette().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateVisualPalette.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy