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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisBoxPlotChartConfigurationArgs.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 AnalysisBoxPlotChartConfigurationArgs(
    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.AnalysisBoxPlotChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisBoxPlotChartConfigurationArgs.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 [AnalysisBoxPlotChartConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisBoxPlotChartConfigurationArgsBuilder 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("soiojaftwfsejgjr")
    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("raswlielmuwfmvds")
    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("lhnvltejqmcgpxbi")
    public suspend fun categoryLabelOptions(`value`: Output) {
        this.categoryLabelOptions = value
    }

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

    /**
     * @param value
     */
    @JvmName("gfmayolpuymwiiak")
    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("cnomchxfesgmqgja")
    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("ugixtvyblqotmnlq")
    public suspend fun primaryYAxisLabelOptions(`value`: Output) {
        this.primaryYAxisLabelOptions = value
    }

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

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

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

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

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

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

    /**
     * @param value The box plot chart options for a box plot visual
     */
    @JvmName("idimueecdmmxqwhh")
    public suspend fun boxPlotOptions(`value`: AnalysisBoxPlotOptionsArgs?) {
        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("uhaosgphwbhvigus")
    public suspend fun boxPlotOptions(argument: suspend AnalysisBoxPlotOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisBoxPlotOptionsArgsBuilder().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("aosxntsrfyaqoado")
    public suspend fun categoryAxis(`value`: AnalysisAxisDisplayOptionsArgs?) {
        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("uygqrcsigluadnrs")
    public suspend fun categoryAxis(argument: suspend AnalysisAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisAxisDisplayOptionsArgsBuilder().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("dcxiufevhdtqnmbh")
    public suspend fun categoryLabelOptions(`value`: AnalysisChartAxisLabelOptionsArgs?) {
        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("jvqtdtcvtgwmdhrv")
    public suspend fun categoryLabelOptions(argument: suspend AnalysisChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryLabelOptions = mapped
    }

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

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

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

    /**
     * @param argument
     */
    @JvmName("cepxeuqtjomoaxpo")
    public suspend fun legend(argument: suspend AnalysisLegendOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisLegendOptionsArgsBuilder().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("trrhglljobqwcxsu")
    public suspend fun primaryYAxisDisplayOptions(`value`: AnalysisAxisDisplayOptionsArgs?) {
        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("hvuhmwbyvsothxrx")
    public suspend fun primaryYAxisDisplayOptions(argument: suspend AnalysisAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisAxisDisplayOptionsArgsBuilder().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("tcgebtohyfdkdfir")
    public suspend fun primaryYAxisLabelOptions(`value`: AnalysisChartAxisLabelOptionsArgs?) {
        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("ddtqvchgmvqaxuhq")
    public suspend fun primaryYAxisLabelOptions(argument: suspend AnalysisChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisLabelOptions = mapped
    }

    /**
     * @param value The reference line setup of the visual.
     */
    @JvmName("nrevjchawrctwlli")
    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("owbgxbdbmnjyoapf")
    public suspend fun referenceLines(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisReferenceLineArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.referenceLines = mapped
    }

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

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

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

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

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

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

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

    /**
     * @param value The palette (chart color) display setup of the visual.
     */
    @JvmName("cdggcxdlpfqbfijl")
    public suspend fun visualPalette(`value`: AnalysisVisualPaletteArgs?) {
        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("excgahjrbfmiegtc")
    public suspend fun visualPalette(argument: suspend AnalysisVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisVisualPaletteArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.visualPalette = mapped
    }

    internal fun build(): AnalysisBoxPlotChartConfigurationArgs =
        AnalysisBoxPlotChartConfigurationArgs(
            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