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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateBoxPlotChartConfigurationArgs.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 TemplateBoxPlotChartConfigurationArgs(
    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.TemplateBoxPlotChartConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateBoxPlotChartConfigurationArgs.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 [TemplateBoxPlotChartConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateBoxPlotChartConfigurationArgsBuilder 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("cupyknpjdaqwcvqq")
    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("oursgqqjjqhxiess")
    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("bsfevfpxgmmxxsod")
    public suspend fun categoryLabelOptions(`value`: Output) {
        this.categoryLabelOptions = value
    }

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

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

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

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

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

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

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

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

    /**
     * @param value The box plot chart options for a box plot visual
     */
    @JvmName("ihcodvhamdmwpcnj")
    public suspend fun boxPlotOptions(`value`: TemplateBoxPlotOptionsArgs?) {
        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("jivufhyyqfejiwxu")
    public suspend fun boxPlotOptions(argument: suspend TemplateBoxPlotOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateBoxPlotOptionsArgsBuilder().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("tpmdnbnahqadrpry")
    public suspend fun categoryAxis(`value`: TemplateAxisDisplayOptionsArgs?) {
        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("jceccppxuhbetrfj")
    public suspend fun categoryAxis(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().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("ovrlkgifkdihptjk")
    public suspend fun categoryLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        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("cgqhnqmvjqldjtmh")
    public suspend fun categoryLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.categoryLabelOptions = mapped
    }

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

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

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

    /**
     * @param argument
     */
    @JvmName("hrasysvomwjhlpnk")
    public suspend fun legend(argument: suspend TemplateLegendOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateLegendOptionsArgsBuilder().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("ruqdfawjshjhopdh")
    public suspend fun primaryYAxisDisplayOptions(`value`: TemplateAxisDisplayOptionsArgs?) {
        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("xhbmfsbxwjndsyiw")
    public suspend fun primaryYAxisDisplayOptions(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().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("ryknedobxwkybfjb")
    public suspend fun primaryYAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        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("xxxgxdnjovfaukhl")
    public suspend fun primaryYAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.primaryYAxisLabelOptions = mapped
    }

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

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

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

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

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

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

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

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

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

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