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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardBoxPlotChartConfigurationArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property boxPlotOptions The box plot chart options for a box plot visual
 * @property categoryAxis The label display options (grid line, range, scale, axis step) of a box plot category.
 * @property categoryLabelOptions The label options (label text, label visibility and sort Icon visibility) of a box plot category.
 * @property fieldWells The field wells of the visual.
 * @property legend
 * @property primaryYAxisDisplayOptions The label display options (grid line, range, scale, axis step) of a box plot category.
 * @property primaryYAxisLabelOptions The label options (label text, label visibility and sort icon visibility) of a box plot value.
 * @property referenceLines The reference line setup of the visual.
 * @property sortConfiguration The sort configuration of a `BoxPlotVisual` .
 * @property tooltip The tooltip display setup of the visual.
 * @property visualPalette The palette (chart color) display setup of the visual.
 */
public data class DashboardBoxPlotChartConfigurationArgs(
    public val boxPlotOptions: Output? = null,
    public val categoryAxis: Output? = null,
    public val categoryLabelOptions: Output? = null,
    public val fieldWells: Output? = null,
    public val legend: Output? = null,
    public val primaryYAxisDisplayOptions: Output? = null,
    public val primaryYAxisLabelOptions: Output? = null,
    public val referenceLines: Output>? = null,
    public val sortConfiguration: Output? = null,
    public val tooltip: Output? = null,
    public val visualPalette: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardBoxPlotChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardBoxPlotChartConfigurationArgs.builder()
            .boxPlotOptions(boxPlotOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .categoryAxis(categoryAxis?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .categoryLabelOptions(
                categoryLabelOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .fieldWells(fieldWells?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .legend(legend?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .primaryYAxisDisplayOptions(
                primaryYAxisDisplayOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .primaryYAxisLabelOptions(
                primaryYAxisLabelOptions?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .referenceLines(
                referenceLines?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .sortConfiguration(sortConfiguration?.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() }) })).build()
}

/**
 * Builder for [DashboardBoxPlotChartConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardBoxPlotChartConfigurationArgsBuilder internal constructor() {
    private var boxPlotOptions: Output? = null

    private var categoryAxis: Output? = null

    private var categoryLabelOptions: Output? = null

    private var fieldWells: Output? = null

    private var legend: Output? = null

    private var primaryYAxisDisplayOptions: Output? = null

    private var primaryYAxisLabelOptions: Output? = null

    private var referenceLines: Output>? = null

    private var sortConfiguration: Output? = null

    private var tooltip: Output? = null

    private var visualPalette: Output? = null

    /**
     * @param value The box plot chart options for a box plot visual
     */
    @JvmName("lwdpjnfxwjfkotfj")
    public suspend fun boxPlotOptions(`value`: Output) {
        this.boxPlotOptions = value
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) of a box plot category.
     */
    @JvmName("ahcwegohkbofdmst")
    public suspend fun categoryAxis(`value`: Output) {
        this.categoryAxis = value
    }

    /**
     * @param value The label options (label text, label visibility and sort Icon visibility) of a box plot category.
     */
    @JvmName("yvbvjmuivgejqqiw")
    public suspend fun categoryLabelOptions(`value`: Output) {
        this.categoryLabelOptions = value
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("uiitqbconoshnytu")
    public suspend fun fieldWells(`value`: Output) {
        this.fieldWells = value
    }

    /**
     * @param value
     */
    @JvmName("gbtmrboocrpyedhk")
    public suspend fun legend(`value`: Output) {
        this.legend = value
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) of a box plot category.
     */
    @JvmName("kvjtjfmxruwubjlt")
    public suspend fun primaryYAxisDisplayOptions(`value`: Output) {
        this.primaryYAxisDisplayOptions = value
    }

    /**
     * @param value The label options (label text, label visibility and sort icon visibility) of a box plot value.
     */
    @JvmName("agoikaloyopsxmli")
    public suspend fun primaryYAxisLabelOptions(`value`: Output) {
        this.primaryYAxisLabelOptions = value
    }

    /**
     * @param value The reference line setup of the visual.
     */
    @JvmName("gvjrfgxhgfllfrxj")
    public suspend fun referenceLines(`value`: Output>) {
        this.referenceLines = value
    }

    @JvmName("uvjyjhdklktgvsgi")
    public suspend fun referenceLines(vararg values: Output) {
        this.referenceLines = Output.all(values.asList())
    }

    /**
     * @param values The reference line setup of the visual.
     */
    @JvmName("akmaemmhtveytvwm")
    public suspend fun referenceLines(values: List>) {
        this.referenceLines = Output.all(values)
    }

    /**
     * @param value The sort configuration of a `BoxPlotVisual` .
     */
    @JvmName("lrxpcskuslghrruc")
    public suspend fun sortConfiguration(`value`: Output) {
        this.sortConfiguration = value
    }

    /**
     * @param value The tooltip display setup of the visual.
     */
    @JvmName("tlenbixlbfnafrsd")
    public suspend fun tooltip(`value`: Output) {
        this.tooltip = value
    }

    /**
     * @param value The palette (chart color) display setup of the visual.
     */
    @JvmName("qttcakmjstcqsbia")
    public suspend fun visualPalette(`value`: Output) {
        this.visualPalette = value
    }

    /**
     * @param value The box plot chart options for a box plot visual
     */
    @JvmName("pxofvhsvguowfoou")
    public suspend fun boxPlotOptions(`value`: DashboardBoxPlotOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.boxPlotOptions = mapped
    }

    /**
     * @param argument The box plot chart options for a box plot visual
     */
    @JvmName("hqjkxuejcrhikajk")
    public suspend fun boxPlotOptions(argument: suspend DashboardBoxPlotOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardBoxPlotOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.boxPlotOptions = mapped
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) of a box plot category.
     */
    @JvmName("fxbeoyopwmifqfdo")
    public suspend fun categoryAxis(`value`: DashboardAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryAxis = mapped
    }

    /**
     * @param argument The label display options (grid line, range, scale, axis step) of a box plot category.
     */
    @JvmName("sxgmfuifessieyon")
    public suspend fun categoryAxis(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryAxis = mapped
    }

    /**
     * @param value The label options (label text, label visibility and sort Icon visibility) of a box plot category.
     */
    @JvmName("rlmvfkiipiwmprsc")
    public suspend fun categoryLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.categoryLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility and sort Icon visibility) of a box plot category.
     */
    @JvmName("sqqdeggjxvqubaef")
    public suspend fun categoryLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryLabelOptions = mapped
    }

    /**
     * @param value The field wells of the visual.
     */
    @JvmName("buypogjdnkihkbtf")
    public suspend fun fieldWells(`value`: DashboardBoxPlotFieldWellsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldWells = mapped
    }

    /**
     * @param argument The field wells of the visual.
     */
    @JvmName("ecfwravcxdniwgjb")
    public suspend fun fieldWells(argument: suspend DashboardBoxPlotFieldWellsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardBoxPlotFieldWellsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fieldWells = mapped
    }

    /**
     * @param value
     */
    @JvmName("gqfbvugpfqsdmpmb")
    public suspend fun legend(`value`: DashboardLegendOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.legend = mapped
    }

    /**
     * @param argument
     */
    @JvmName("dhymngpuawdbnrkb")
    public suspend fun legend(argument: suspend DashboardLegendOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardLegendOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.legend = mapped
    }

    /**
     * @param value The label display options (grid line, range, scale, axis step) of a box plot category.
     */
    @JvmName("rayardyjwfspddby")
    public suspend fun primaryYAxisDisplayOptions(`value`: DashboardAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryYAxisDisplayOptions = mapped
    }

    /**
     * @param argument The label display options (grid line, range, scale, axis step) of a box plot category.
     */
    @JvmName("notiqdnjioykwagp")
    public suspend fun primaryYAxisDisplayOptions(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisDisplayOptions = mapped
    }

    /**
     * @param value The label options (label text, label visibility and sort icon visibility) of a box plot value.
     */
    @JvmName("irpqjdhrrcqswffm")
    public suspend fun primaryYAxisLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.primaryYAxisLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility and sort icon visibility) of a box plot value.
     */
    @JvmName("quouxphfasdmfhmn")
    public suspend fun primaryYAxisLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisLabelOptions = mapped
    }

    /**
     * @param value The reference line setup of the visual.
     */
    @JvmName("qrgbgytugeaquisj")
    public suspend fun referenceLines(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.referenceLines = mapped
    }

    /**
     * @param argument The reference line setup of the visual.
     */
    @JvmName("wossuycwnjwcbwnd")
    public suspend fun referenceLines(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardReferenceLineArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.referenceLines = mapped
    }

    /**
     * @param argument The reference line setup of the visual.
     */
    @JvmName("bwuspwtfwnrprkec")
    public suspend fun referenceLines(vararg argument: suspend DashboardReferenceLineArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardReferenceLineArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.referenceLines = mapped
    }

    /**
     * @param argument The reference line setup of the visual.
     */
    @JvmName("mjltopdjlqmdndwt")
    public suspend fun referenceLines(argument: suspend DashboardReferenceLineArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DashboardReferenceLineArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.referenceLines = mapped
    }

    /**
     * @param values The reference line setup of the visual.
     */
    @JvmName("xotdrofuheodpxvx")
    public suspend fun referenceLines(vararg values: DashboardReferenceLineArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.referenceLines = mapped
    }

    /**
     * @param value The sort configuration of a `BoxPlotVisual` .
     */
    @JvmName("dorhrfxqvlgubelh")
    public suspend fun sortConfiguration(`value`: DashboardBoxPlotSortConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sortConfiguration = mapped
    }

    /**
     * @param argument The sort configuration of a `BoxPlotVisual` .
     */
    @JvmName("tragrkedypmomwrt")
    public suspend fun sortConfiguration(argument: suspend DashboardBoxPlotSortConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardBoxPlotSortConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.sortConfiguration = mapped
    }

    /**
     * @param value The tooltip display setup of the visual.
     */
    @JvmName("mitqwyleivqvdskq")
    public suspend fun tooltip(`value`: DashboardTooltipOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tooltip = mapped
    }

    /**
     * @param argument The tooltip display setup of the visual.
     */
    @JvmName("rmofuyprxgwdkcwx")
    public suspend fun tooltip(argument: suspend DashboardTooltipOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardTooltipOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.tooltip = mapped
    }

    /**
     * @param value The palette (chart color) display setup of the visual.
     */
    @JvmName("yoqhvypjrydovjmw")
    public suspend fun visualPalette(`value`: DashboardVisualPaletteArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.visualPalette = mapped
    }

    /**
     * @param argument The palette (chart color) display setup of the visual.
     */
    @JvmName("nrwyvqejuiblmsix")
    public suspend fun visualPalette(argument: suspend DashboardVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardVisualPaletteArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.visualPalette = mapped
    }

    internal fun build(): DashboardBoxPlotChartConfigurationArgs =
        DashboardBoxPlotChartConfigurationArgs(
            boxPlotOptions = boxPlotOptions,
            categoryAxis = categoryAxis,
            categoryLabelOptions = categoryLabelOptions,
            fieldWells = fieldWells,
            legend = legend,
            primaryYAxisDisplayOptions = primaryYAxisDisplayOptions,
            primaryYAxisLabelOptions = primaryYAxisLabelOptions,
            referenceLines = referenceLines,
            sortConfiguration = sortConfiguration,
            tooltip = tooltip,
            visualPalette = visualPalette,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy