com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardHistogramConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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),
)
}
}