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

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

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

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

import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateBarChartOrientation
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateBarsArrangement
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property barsArrangement Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual.
 * @property categoryAxis The label display options (grid line, range, scale, axis step) for bar chart category.
 * @property categoryLabelOptions The label options (label text, label visibility and sort icon visibility) for a bar chart.
 * @property colorLabelOptions The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar 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 fieldWells The field wells of the visual.
 * @property legend The legend display setup of the visual.
 * @property orientation The orientation of the bars in a bar chart visual. There are two valid values in this structure:
 * - `HORIZONTAL` : Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts.
 * - `VERTICAL` : Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts.
 * @property referenceLines The reference line setup of the visual.
 * @property smallMultiplesOptions The small multiples setup for the visual.
 * @property sortConfiguration The sort configuration of a `BarChartVisual` .
 * @property tooltip The tooltip display setup of the visual.
 * @property valueAxis The label display options (grid line, range, scale, axis step) for a bar chart value.
 * @property valueLabelOptions The label options (label text, label visibility and sort icon visibility) for a bar chart value.
 * @property visualPalette The palette (chart color) display setup of the visual.
 */
public data class TemplateBarChartConfiguration(
    public val barsArrangement: TemplateBarsArrangement? = null,
    public val categoryAxis: TemplateAxisDisplayOptions? = null,
    public val categoryLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val colorLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val contributionAnalysisDefaults: List? = null,
    public val dataLabels: TemplateDataLabelOptions? = null,
    public val fieldWells: TemplateBarChartFieldWells? = null,
    public val legend: TemplateLegendOptions? = null,
    public val orientation: TemplateBarChartOrientation? = null,
    public val referenceLines: List? = null,
    public val smallMultiplesOptions: TemplateSmallMultiplesOptions? = null,
    public val sortConfiguration: TemplateBarChartSortConfiguration? = null,
    public val tooltip: TemplateTooltipOptions? = null,
    public val valueAxis: TemplateAxisDisplayOptions? = null,
    public val valueLabelOptions: TemplateChartAxisLabelOptions? = null,
    public val visualPalette: TemplateVisualPalette? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateBarChartConfiguration): TemplateBarChartConfiguration = TemplateBarChartConfiguration(
            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),
            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),
            fieldWells = javaType.fieldWells().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateBarChartFieldWells.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),
            orientation = javaType.orientation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TemplateBarChartOrientation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            referenceLines = javaType.referenceLines().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateReferenceLine.Companion.toKotlin(args0)
                })
            }),
            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.TemplateBarChartSortConfiguration.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),
            valueAxis = javaType.valueAxis().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateAxisDisplayOptions.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