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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardHistogramConfigurationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DashboardHistogramConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @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 DashboardHistogramConfigurationArgs(
    public val binOptions: Output? = null,
    public val dataLabels: Output? = null,
    public val fieldWells: Output? = null,
    public val tooltip: Output? = null,
    public val visualPalette: Output? = null,
    public val xAxisDisplayOptions: Output? = null,
    public val xAxisLabelOptions: Output? = null,
    public val yAxisDisplayOptions: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardHistogramConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.DashboardHistogramConfigurationArgs.builder()
        .binOptions(binOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .dataLabels(dataLabels?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .tooltip(tooltip?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .visualPalette(visualPalette?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .xAxisDisplayOptions(
            xAxisDisplayOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        )
        .xAxisLabelOptions(xAxisLabelOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .yAxisDisplayOptions(
            yAxisDisplayOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        ).build()
}

/**
 * Builder for [DashboardHistogramConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardHistogramConfigurationArgsBuilder internal constructor() {
    private var binOptions: Output? = null

    private var dataLabels: Output? = null

    private var fieldWells: Output? = null

    private var tooltip: Output? = null

    private var visualPalette: Output? = null

    private var xAxisDisplayOptions: Output? = null

    private var xAxisLabelOptions: Output? = null

    private var yAxisDisplayOptions: Output? = null

    /**
     * @param value The options that determine the presentation of histogram bins.
     */
    @JvmName("dbfmemwabuxvqvpi")
    public suspend fun binOptions(`value`: Output) {
        this.binOptions = value
    }

    /**
     * @param value The data label configuration of a histogram.
     */
    @JvmName("dsmstviwxerojuiy")
    public suspend fun dataLabels(`value`: Output) {
        this.dataLabels = value
    }

    /**
     * @param value The field well configuration of a histogram.
     */
    @JvmName("askedeodikdejfgs")
    public suspend fun fieldWells(`value`: Output) {
        this.fieldWells = value
    }

    /**
     * @param value The tooltip configuration of a histogram.
     */
    @JvmName("smpbausvucvrtmyh")
    public suspend fun tooltip(`value`: Output) {
        this.tooltip = value
    }

    /**
     * @param value The visual palette configuration of a histogram.
     */
    @JvmName("gfkhpupphvphavxp")
    public suspend fun visualPalette(`value`: Output) {
        this.visualPalette = value
    }

    /**
     * @param value The options that determine the presentation of the x-axis.
     */
    @JvmName("mbvikrysmirbjxms")
    public suspend fun xAxisDisplayOptions(`value`: Output) {
        this.xAxisDisplayOptions = value
    }

    /**
     * @param value The options that determine the presentation of the x-axis label.
     */
    @JvmName("aokelqlmlkqgtmah")
    public suspend fun xAxisLabelOptions(`value`: Output) {
        this.xAxisLabelOptions = value
    }

    /**
     * @param value The options that determine the presentation of the y-axis.
     */
    @JvmName("oceypswespkfuhmj")
    public suspend fun yAxisDisplayOptions(`value`: Output) {
        this.yAxisDisplayOptions = value
    }

    /**
     * @param value The options that determine the presentation of histogram bins.
     */
    @JvmName("pplkkrxcekqhwmpx")
    public suspend fun binOptions(`value`: DashboardHistogramBinOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.binOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of histogram bins.
     */
    @JvmName("yqjdofdrfxcrnvkt")
    public suspend fun binOptions(argument: suspend DashboardHistogramBinOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardHistogramBinOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.binOptions = mapped
    }

    /**
     * @param value The data label configuration of a histogram.
     */
    @JvmName("prhkokylpphxlofg")
    public suspend fun dataLabels(`value`: DashboardDataLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLabels = mapped
    }

    /**
     * @param argument The data label configuration of a histogram.
     */
    @JvmName("lwxpdbhffmnhxobe")
    public suspend fun dataLabels(argument: suspend DashboardDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataLabels = mapped
    }

    /**
     * @param value The field well configuration of a histogram.
     */
    @JvmName("nfopamnkmlqjtyvu")
    public suspend fun fieldWells(`value`: DashboardHistogramFieldWellsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldWells = mapped
    }

    /**
     * @param argument The field well configuration of a histogram.
     */
    @JvmName("wdvqteqdwvauryps")
    public suspend fun fieldWells(argument: suspend DashboardHistogramFieldWellsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardHistogramFieldWellsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fieldWells = mapped
    }

    /**
     * @param value The tooltip configuration of a histogram.
     */
    @JvmName("xbwvpagjfcbefcnd")
    public suspend fun tooltip(`value`: DashboardTooltipOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tooltip = mapped
    }

    /**
     * @param argument The tooltip configuration of a histogram.
     */
    @JvmName("hnkgxxjaauhxviwm")
    public suspend fun tooltip(argument: suspend DashboardTooltipOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardTooltipOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.tooltip = mapped
    }

    /**
     * @param value The visual palette configuration of a histogram.
     */
    @JvmName("blctrmsqhorgyrpj")
    public suspend fun visualPalette(`value`: DashboardVisualPaletteArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visualPalette = mapped
    }

    /**
     * @param argument The visual palette configuration of a histogram.
     */
    @JvmName("hctmcxdktuoibqhe")
    public suspend fun visualPalette(argument: suspend DashboardVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardVisualPaletteArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.visualPalette = mapped
    }

    /**
     * @param value The options that determine the presentation of the x-axis.
     */
    @JvmName("jylruhrwyaxshirk")
    public suspend fun xAxisDisplayOptions(`value`: DashboardAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAxisDisplayOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the x-axis.
     */
    @JvmName("rcgququtbdllsbnq")
    public suspend fun xAxisDisplayOptions(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.xAxisDisplayOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the x-axis label.
     */
    @JvmName("ausckwseihbvwxba")
    public suspend fun xAxisLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAxisLabelOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the x-axis label.
     */
    @JvmName("aegtmyalpxtadvay")
    public suspend fun xAxisLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.xAxisLabelOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the y-axis.
     */
    @JvmName("bxktvshgqikgybob")
    public suspend fun yAxisDisplayOptions(`value`: DashboardAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.yAxisDisplayOptions = mapped
    }

    /**
     * @param argument The options that determine the presentation of the y-axis.
     */
    @JvmName("vcropxdnurieyhma")
    public suspend fun yAxisDisplayOptions(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.yAxisDisplayOptions = mapped
    }

    internal fun build(): DashboardHistogramConfigurationArgs = DashboardHistogramConfigurationArgs(
        binOptions = binOptions,
        dataLabels = dataLabels,
        fieldWells = fieldWells,
        tooltip = tooltip,
        visualPalette = visualPalette,
        xAxisDisplayOptions = xAxisDisplayOptions,
        xAxisLabelOptions = xAxisLabelOptions,
        yAxisDisplayOptions = yAxisDisplayOptions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy