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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisHistogramConfigurationArgs.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 AnalysisHistogramConfigurationArgs(
    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.AnalysisHistogramConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisHistogramConfigurationArgs.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 [AnalysisHistogramConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisHistogramConfigurationArgsBuilder 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("kvfrkkoycauwpdvd")
    public suspend fun binOptions(`value`: Output) {
        this.binOptions = value
    }

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

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

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

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

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

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

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

    /**
     * @param value The options that determine the presentation of histogram bins.
     */
    @JvmName("reomrpdotorqshdk")
    public suspend fun binOptions(`value`: AnalysisHistogramBinOptionsArgs?) {
        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("eealtblldtcfsjkt")
    public suspend fun binOptions(argument: suspend AnalysisHistogramBinOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisHistogramBinOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.binOptions = mapped
    }

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

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

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

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

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

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

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

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

    /**
     * @param value The options that determine the presentation of the x-axis.
     */
    @JvmName("ryqaqamttlhnjiob")
    public suspend fun xAxisDisplayOptions(`value`: AnalysisAxisDisplayOptionsArgs?) {
        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("wulafennxahhjhwr")
    public suspend fun xAxisDisplayOptions(argument: suspend AnalysisAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.xAxisDisplayOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the x-axis label.
     */
    @JvmName("otugkotxvfxplcvq")
    public suspend fun xAxisLabelOptions(`value`: AnalysisChartAxisLabelOptionsArgs?) {
        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("efcqtkwfqxytivmb")
    public suspend fun xAxisLabelOptions(argument: suspend AnalysisChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.xAxisLabelOptions = mapped
    }

    /**
     * @param value The options that determine the presentation of the y-axis.
     */
    @JvmName("kikyhbdbojmavrmx")
    public suspend fun yAxisDisplayOptions(`value`: AnalysisAxisDisplayOptionsArgs?) {
        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("ltuvapriovlvavcn")
    public suspend fun yAxisDisplayOptions(argument: suspend AnalysisAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.yAxisDisplayOptions = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy