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

com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateComboChartConfiguration.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 com.pulumi.awsnative.quicksight.kotlin.enums.TemplateBarsArrangement
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property barDataLabels The options that determine if visual data labels are displayed.
 * The data label options for a bar in a combo chart.
 * @property barsArrangement Determines the bar arrangement in a combo chart. The following are valid values in this structure:
 * - `CLUSTERED` : For clustered bar combo charts.
 * - `STACKED` : For stacked bar combo charts.
 * - `STACKED_PERCENT` : Do not use. If you use this value, the operation returns a validation error.
 * @property categoryAxis The category axis of a combo chart.
 * @property categoryLabelOptions The label options (label text, label visibility, and sort icon visibility) of a combo chart category (group/color) field well.
 * @property colorLabelOptions The label options (label text, label visibility, and sort icon visibility) of a combo chart's color field well.
 * @property fieldWells The field wells of the visual.
 * @property legend The legend display setup of the visual.
 * @property lineDataLabels The options that determine if visual data labels are displayed.
 * The data label options for a line in a combo chart.
 * @property primaryYAxisDisplayOptions The label display options (grid line, range, scale, and axis step) of a combo chart's primary y-axis (bar) field well.
 * @property primaryYAxisLabelOptions The label options (label text, label visibility, and sort icon visibility) of a combo chart's primary y-axis (bar) field well.
 * @property referenceLines The reference line setup of the visual.
 * @property secondaryYAxisDisplayOptions The label display options (grid line, range, scale, axis step) of a combo chart's secondary y-axis (line) field well.
 * @property secondaryYAxisLabelOptions The label options (label text, label visibility, and sort icon visibility) of a combo chart's secondary y-axis(line) field well.
 * @property sortConfiguration The sort configuration of a `ComboChartVisual` .
 * @property tooltip The legend display setup of the visual.
 * @property visualPalette The palette (chart color) display setup of the visual.
 */
public data class TemplateComboChartConfiguration(
    public val barDataLabels: TemplateDataLabelOptions? = null,
    public val barsArrangement: TemplateBarsArrangement? = null,
    public val categoryAxis: TemplateAxisDisplayOptions? = null,
    public val categoryLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val colorLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val fieldWells: TemplateComboChartFieldWells? = null,
    public val legend: TemplateLegendOptions? = null,
    public val lineDataLabels: TemplateDataLabelOptions? = null,
    public val primaryYAxisDisplayOptions: TemplateAxisDisplayOptions? = null,
    public val primaryYAxisLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val referenceLines: List? = null,
    public val secondaryYAxisDisplayOptions: TemplateAxisDisplayOptions? = null,
    public val secondaryYAxisLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val sortConfiguration: TemplateComboChartSortConfiguration? = null,
    public val tooltip: TemplateTooltipOptions? = null,
    public val visualPalette: TemplateVisualPalette? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateComboChartConfiguration): TemplateComboChartConfiguration = TemplateComboChartConfiguration(
            barDataLabels = javaType.barDataLabels().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDataLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            barsArrangement = javaType.barsArrangement().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateBarsArrangement.Companion.toKotlin(args0)
                })
            }).orElse(null),
            categoryAxis = javaType.categoryAxis().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateAxisDisplayOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            categoryLabelOptions = javaType.categoryLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            colorLabelOptions = javaType.colorLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            fieldWells = javaType.fieldWells().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateComboChartFieldWells.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),
            lineDataLabels = javaType.lineDataLabels().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDataLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            primaryYAxisDisplayOptions = javaType.primaryYAxisDisplayOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateAxisDisplayOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            primaryYAxisLabelOptions = javaType.primaryYAxisLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            referenceLines = javaType.referenceLines().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateReferenceLine.Companion.toKotlin(args0)
                })
            }),
            secondaryYAxisDisplayOptions = javaType.secondaryYAxisDisplayOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateAxisDisplayOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            secondaryYAxisLabelOptions = javaType.secondaryYAxisLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sortConfiguration = javaType.sortConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateComboChartSortConfiguration.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),
            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