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

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

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

import kotlin.Suppress

/**
 *
 * @property binOptions The options that determine the presentation of histogram bins.
 * @property dataLabels The data label configuration of a histogram.
 * @property fieldWells The field well configuration of a histogram.
 * @property tooltip The tooltip configuration of a histogram.
 * @property visualPalette The visual palette configuration of a histogram.
 * @property xAxisDisplayOptions The options that determine the presentation of the x-axis.
 * @property xAxisLabelOptions The options that determine the presentation of the x-axis label.
 * @property yAxisDisplayOptions The options that determine the presentation of the y-axis.
 */
public data class DashboardHistogramConfiguration(
    public val binOptions: DashboardHistogramBinOptions? = null,
    public val dataLabels: DashboardDataLabelOptions? = null,
    public val fieldWells: DashboardHistogramFieldWells? = null,
    public val tooltip: DashboardTooltipOptions? = null,
    public val visualPalette: DashboardVisualPalette? = null,
    public val xAxisDisplayOptions: DashboardAxisDisplayOptions? = null,
    public val xAxisLabelOptions: DashboardChartAxisLabelOptions? = null,
    public val yAxisDisplayOptions: DashboardAxisDisplayOptions? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardHistogramConfiguration): DashboardHistogramConfiguration = DashboardHistogramConfiguration(
            binOptions = javaType.binOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardHistogramBinOptions.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.DashboardHistogramFieldWells.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),
            visualPalette = javaType.visualPalette().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardVisualPalette.Companion.toKotlin(args0)
                })
            }).orElse(null),
            xAxisDisplayOptions = javaType.xAxisDisplayOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardAxisDisplayOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            xAxisLabelOptions = javaType.xAxisLabelOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardChartAxisLabelOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            yAxisDisplayOptions = javaType.yAxisDisplayOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardAxisDisplayOptions.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy