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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateScatterPlotConfigurationArgs.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 dataLabels The options that determine if visual data labels are displayed.
 * @property fieldWells The field wells of the visual.
 * @property legend The legend display setup of the visual.
 * @property tooltip The legend display setup of the visual.
 * @property visualPalette The palette (chart color) display setup of the visual.
 * @property xAxisDisplayOptions The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis.
 * @property xAxisLabelOptions The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis.
 * @property yAxisDisplayOptions The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis.
 * @property yAxisLabelOptions The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis.
 */
public data class TemplateScatterPlotConfigurationArgs(
    public val dataLabels: Output? = null,
    public val fieldWells: Output? = null,
    public val legend: 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,
    public val yAxisLabelOptions: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateScatterPlotConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.TemplateScatterPlotConfigurationArgs.builder()
        .dataLabels(dataLabels?.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() }) }))
        .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()
                })
            }),
        )
        .yAxisLabelOptions(
            yAxisLabelOptions?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        ).build()
}

/**
 * Builder for [TemplateScatterPlotConfigurationArgs].
 */
@PulumiTagMarker
public class TemplateScatterPlotConfigurationArgsBuilder internal constructor() {
    private var dataLabels: Output? = null

    private var fieldWells: Output? = null

    private var legend: 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

    private var yAxisLabelOptions: Output? = null

    /**
     * @param value The options that determine if visual data labels are displayed.
     */
    @JvmName("dsmuqiidtqlhrfjm")
    public suspend fun dataLabels(`value`: Output) {
        this.dataLabels = value
    }

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

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

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

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

    /**
     * @param value The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis.
     */
    @JvmName("lpmrkdpxtckrbnka")
    public suspend fun xAxisDisplayOptions(`value`: Output) {
        this.xAxisDisplayOptions = value
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis.
     */
    @JvmName("rsnlxglfwpuebyax")
    public suspend fun xAxisLabelOptions(`value`: Output) {
        this.xAxisLabelOptions = value
    }

    /**
     * @param value The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis.
     */
    @JvmName("ndieaithkgsaeugv")
    public suspend fun yAxisDisplayOptions(`value`: Output) {
        this.yAxisDisplayOptions = value
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis.
     */
    @JvmName("njstmkqdjcnctxlx")
    public suspend fun yAxisLabelOptions(`value`: Output) {
        this.yAxisLabelOptions = value
    }

    /**
     * @param value The options that determine if visual data labels are displayed.
     */
    @JvmName("frxlifcgihdippmy")
    public suspend fun dataLabels(`value`: TemplateDataLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataLabels = mapped
    }

    /**
     * @param argument The options that determine if visual data labels are displayed.
     */
    @JvmName("couqpwrourutagbj")
    public suspend fun dataLabels(argument: suspend TemplateDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataLabels = mapped
    }

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

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

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

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

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

    /**
     * @param argument The legend display setup of the visual.
     */
    @JvmName("gqhpuqrckrqaafaa")
    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("hdnhdmxqlpsgotmh")
    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("wcigbfewdcgxmawp")
    public suspend fun visualPalette(argument: suspend TemplateVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateVisualPaletteArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.visualPalette = mapped
    }

    /**
     * @param value The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis.
     */
    @JvmName("sygbgwipemftjpew")
    public suspend fun xAxisDisplayOptions(`value`: TemplateAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAxisDisplayOptions = mapped
    }

    /**
     * @param argument The label display options (grid line, range, scale, and axis step) of the scatter plot's x-axis.
     */
    @JvmName("lwpqhmyhthaccoup")
    public suspend fun xAxisDisplayOptions(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.xAxisDisplayOptions = mapped
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis.
     */
    @JvmName("orikyibhegbjbupr")
    public suspend fun xAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAxisLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility, and sort icon visibility) of the scatter plot's x-axis.
     */
    @JvmName("khnflyibfxwgafek")
    public suspend fun xAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.xAxisLabelOptions = mapped
    }

    /**
     * @param value The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis.
     */
    @JvmName("qvovluebyriynskp")
    public suspend fun yAxisDisplayOptions(`value`: TemplateAxisDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.yAxisDisplayOptions = mapped
    }

    /**
     * @param argument The label display options (grid line, range, scale, and axis step) of the scatter plot's y-axis.
     */
    @JvmName("kuhhrmbsdxdwkpff")
    public suspend fun yAxisDisplayOptions(argument: suspend TemplateAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateAxisDisplayOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.yAxisDisplayOptions = mapped
    }

    /**
     * @param value The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis.
     */
    @JvmName("njjsocyfeduryxge")
    public suspend fun yAxisLabelOptions(`value`: TemplateChartAxisLabelOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.yAxisLabelOptions = mapped
    }

    /**
     * @param argument The label options (label text, label visibility, and sort icon visibility) of the scatter plot's y-axis.
     */
    @JvmName("laajonwupraanhsc")
    public suspend fun yAxisLabelOptions(argument: suspend TemplateChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.yAxisLabelOptions = mapped
    }

    internal fun build(): TemplateScatterPlotConfigurationArgs = TemplateScatterPlotConfigurationArgs(
        dataLabels = dataLabels,
        fieldWells = fieldWells,
        legend = legend,
        tooltip = tooltip,
        visualPalette = visualPalette,
        xAxisDisplayOptions = xAxisDisplayOptions,
        xAxisLabelOptions = xAxisLabelOptions,
        yAxisDisplayOptions = yAxisDisplayOptions,
        yAxisLabelOptions = yAxisLabelOptions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy