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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardScatterPlotUnaggregatedFieldWellsArgs.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 category The category field well of a scatter plot.
 * @property label The label field well of a scatter plot.
 * @property size The size field well of a scatter plot.
 * @property xAxis The x-axis field well of a scatter plot.
 * The x-axis is a dimension field and cannot be aggregated.
 * @property yAxis The y-axis field well of a scatter plot.
 * The y-axis is a dimension field and cannot be aggregated.
 */
public data class DashboardScatterPlotUnaggregatedFieldWellsArgs(
    public val category: Output>? = null,
    public val label: Output>? = null,
    public val size: Output>? = null,
    public val xAxis: Output>? = null,
    public val yAxis: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardScatterPlotUnaggregatedFieldWellsArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardScatterPlotUnaggregatedFieldWellsArgs.builder()
            .category(
                category?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .label(label?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .size(size?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .xAxis(xAxis?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .yAxis(
                yAxis?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [DashboardScatterPlotUnaggregatedFieldWellsArgs].
 */
@PulumiTagMarker
public class DashboardScatterPlotUnaggregatedFieldWellsArgsBuilder internal constructor() {
    private var category: Output>? = null

    private var label: Output>? = null

    private var size: Output>? = null

    private var xAxis: Output>? = null

    private var yAxis: Output>? = null

    /**
     * @param value The category field well of a scatter plot.
     */
    @JvmName("xjclkbbmsdnunbeh")
    public suspend fun category(`value`: Output>) {
        this.category = value
    }

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

    /**
     * @param values The category field well of a scatter plot.
     */
    @JvmName("qagqvhobhcobibwy")
    public suspend fun category(values: List>) {
        this.category = Output.all(values)
    }

    /**
     * @param value The label field well of a scatter plot.
     */
    @JvmName("rltoogxhigdwjari")
    public suspend fun label(`value`: Output>) {
        this.label = value
    }

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

    /**
     * @param values The label field well of a scatter plot.
     */
    @JvmName("tbtlllorlxvtgiam")
    public suspend fun label(values: List>) {
        this.label = Output.all(values)
    }

    /**
     * @param value The size field well of a scatter plot.
     */
    @JvmName("xtbjvdwpucbsrvce")
    public suspend fun size(`value`: Output>) {
        this.size = value
    }

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

    /**
     * @param values The size field well of a scatter plot.
     */
    @JvmName("fjcfiselvbwqmlsi")
    public suspend fun size(values: List>) {
        this.size = Output.all(values)
    }

    /**
     * @param value The x-axis field well of a scatter plot.
     * The x-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("hwvltrkbrlbfdteg")
    public suspend fun xAxis(`value`: Output>) {
        this.xAxis = value
    }

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

    /**
     * @param values The x-axis field well of a scatter plot.
     * The x-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("lgaslexdkpfnbyuy")
    public suspend fun xAxis(values: List>) {
        this.xAxis = Output.all(values)
    }

    /**
     * @param value The y-axis field well of a scatter plot.
     * The y-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("meirruuaxmnkdvio")
    public suspend fun yAxis(`value`: Output>) {
        this.yAxis = value
    }

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

    /**
     * @param values The y-axis field well of a scatter plot.
     * The y-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("xpaotrxpvwgiwove")
    public suspend fun yAxis(values: List>) {
        this.yAxis = Output.all(values)
    }

    /**
     * @param value The category field well of a scatter plot.
     */
    @JvmName("rgtmdlptxpakxggk")
    public suspend fun category(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.category = mapped
    }

    /**
     * @param argument The category field well of a scatter plot.
     */
    @JvmName("njxwevbuauikyjqd")
    public suspend fun category(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.category = mapped
    }

    /**
     * @param argument The category field well of a scatter plot.
     */
    @JvmName("ggyyltshsliwpsrc")
    public suspend fun category(vararg argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.category = mapped
    }

    /**
     * @param argument The category field well of a scatter plot.
     */
    @JvmName("nhaalmhlgkmucwyu")
    public suspend fun category(argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardDimensionFieldArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.category = mapped
    }

    /**
     * @param values The category field well of a scatter plot.
     */
    @JvmName("xytjgdvqexejpnoo")
    public suspend fun category(vararg values: DashboardDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.category = mapped
    }

    /**
     * @param value The label field well of a scatter plot.
     */
    @JvmName("ufcakcejlaflesgp")
    public suspend fun label(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.label = mapped
    }

    /**
     * @param argument The label field well of a scatter plot.
     */
    @JvmName("qsaqntsvgryunvyh")
    public suspend fun label(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.label = mapped
    }

    /**
     * @param argument The label field well of a scatter plot.
     */
    @JvmName("tmaveodouxolgxbq")
    public suspend fun label(vararg argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.label = mapped
    }

    /**
     * @param argument The label field well of a scatter plot.
     */
    @JvmName("phsmnwnygbtoohws")
    public suspend fun label(argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardDimensionFieldArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.label = mapped
    }

    /**
     * @param values The label field well of a scatter plot.
     */
    @JvmName("uruxwgfelcpndvea")
    public suspend fun label(vararg values: DashboardDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.label = mapped
    }

    /**
     * @param value The size field well of a scatter plot.
     */
    @JvmName("bsjvewdwxgxnqyld")
    public suspend fun size(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.size = mapped
    }

    /**
     * @param argument The size field well of a scatter plot.
     */
    @JvmName("hfyymttusigyaxsi")
    public suspend fun size(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.size = mapped
    }

    /**
     * @param argument The size field well of a scatter plot.
     */
    @JvmName("khapmysqpntxqhbr")
    public suspend fun size(vararg argument: suspend DashboardMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.size = mapped
    }

    /**
     * @param argument The size field well of a scatter plot.
     */
    @JvmName("gikhyqfrjrtgthom")
    public suspend fun size(argument: suspend DashboardMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DashboardMeasureFieldArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.size = mapped
    }

    /**
     * @param values The size field well of a scatter plot.
     */
    @JvmName("ugmrvkyagrrgbvjh")
    public suspend fun size(vararg values: DashboardMeasureFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.size = mapped
    }

    /**
     * @param value The x-axis field well of a scatter plot.
     * The x-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("cujmqaijlbkvctek")
    public suspend fun xAxis(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.xAxis = mapped
    }

    /**
     * @param argument The x-axis field well of a scatter plot.
     * The x-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("jiwabubhbrffhokl")
    public suspend fun xAxis(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.xAxis = mapped
    }

    /**
     * @param argument The x-axis field well of a scatter plot.
     * The x-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("yxejwafmnsltvtwh")
    public suspend fun xAxis(vararg argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.xAxis = mapped
    }

    /**
     * @param argument The x-axis field well of a scatter plot.
     * The x-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("sgmbcymigyalqaax")
    public suspend fun xAxis(argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardDimensionFieldArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.xAxis = mapped
    }

    /**
     * @param values The x-axis field well of a scatter plot.
     * The x-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("ivkbjoaemowgllva")
    public suspend fun xAxis(vararg values: DashboardDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.xAxis = mapped
    }

    /**
     * @param value The y-axis field well of a scatter plot.
     * The y-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("duxuuygkaldllfnj")
    public suspend fun yAxis(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.yAxis = mapped
    }

    /**
     * @param argument The y-axis field well of a scatter plot.
     * The y-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("bfaxysfjadcnyeui")
    public suspend fun yAxis(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.yAxis = mapped
    }

    /**
     * @param argument The y-axis field well of a scatter plot.
     * The y-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("kcshvaikwjbwvnet")
    public suspend fun yAxis(vararg argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.yAxis = mapped
    }

    /**
     * @param argument The y-axis field well of a scatter plot.
     * The y-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("yjubmrwgpwysisix")
    public suspend fun yAxis(argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardDimensionFieldArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.yAxis = mapped
    }

    /**
     * @param values The y-axis field well of a scatter plot.
     * The y-axis is a dimension field and cannot be aggregated.
     */
    @JvmName("qdngrnekgxnlyyge")
    public suspend fun yAxis(vararg values: DashboardDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.yAxis = mapped
    }

    internal fun build(): DashboardScatterPlotUnaggregatedFieldWellsArgs =
        DashboardScatterPlotUnaggregatedFieldWellsArgs(
            category = category,
            label = label,
            size = size,
            xAxis = xAxis,
            yAxis = yAxis,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy