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

com.pulumi.awsnative.quicksight.kotlin.inputs.DashboardScatterPlotConfigurationArgs.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.DashboardScatterPlotConfigurationArgs.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 DashboardScatterPlotConfigurationArgs(
    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.DashboardScatterPlotConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardScatterPlotConfigurationArgs.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 [DashboardScatterPlotConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardScatterPlotConfigurationArgsBuilder 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("wardxutxbeclwsep")
    public suspend fun dataLabels(`value`: Output) {
        this.dataLabels = value
    }

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

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

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

    /**
     * @param value The palette (chart color) display setup of the visual.
     */
    @JvmName("ykbfocwhxuckbcbj")
    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("xiijvuoidwbsobqy")
    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("tcqlvrexqfmxmjba")
    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("byytcjyhykxhugrf")
    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("oagrkgtufttdbjcj")
    public suspend fun yAxisLabelOptions(`value`: Output) {
        this.yAxisLabelOptions = value
    }

    /**
     * @param value The options that determine if visual data labels are displayed.
     */
    @JvmName("dfsodpdepttuhxue")
    public suspend fun dataLabels(`value`: DashboardDataLabelOptionsArgs?) {
        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("hittjqxtinmxtwyj")
    public suspend fun dataLabels(argument: suspend DashboardDataLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardDataLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataLabels = mapped
    }

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

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

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

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

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

    /**
     * @param argument The legend display setup of the visual.
     */
    @JvmName("kpqrbuoujxdtbjop")
    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("orvsrfyokylnghoq")
    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("ocolusfbrxjwogoy")
    public suspend fun visualPalette(argument: suspend DashboardVisualPaletteArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardVisualPaletteArgsBuilder().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("fohgcfqyeulvyifm")
    public suspend fun xAxisDisplayOptions(`value`: DashboardAxisDisplayOptionsArgs?) {
        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("ufvmtygvevluetxa")
    public suspend fun xAxisDisplayOptions(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().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("tfwfkbaemjiwttrw")
    public suspend fun xAxisLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        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("nwixotyxdkxvwcgq")
    public suspend fun xAxisLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().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("lwncimwdggjahnvr")
    public suspend fun yAxisDisplayOptions(`value`: DashboardAxisDisplayOptionsArgs?) {
        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("gkfptrmltwrvussu")
    public suspend fun yAxisDisplayOptions(argument: suspend DashboardAxisDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardAxisDisplayOptionsArgsBuilder().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("botkrofdpbbbrdkv")
    public suspend fun yAxisLabelOptions(`value`: DashboardChartAxisLabelOptionsArgs?) {
        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("exjfxxyasngybiep")
    public suspend fun yAxisLabelOptions(argument: suspend DashboardChartAxisLabelOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = DashboardChartAxisLabelOptionsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.yAxisLabelOptions = mapped
    }

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