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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateScatterPlotUnaggregatedFieldWellsArgs.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 TemplateScatterPlotUnaggregatedFieldWellsArgs(
    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.TemplateScatterPlotUnaggregatedFieldWellsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateScatterPlotUnaggregatedFieldWellsArgs.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 [TemplateScatterPlotUnaggregatedFieldWellsArgs].
 */
@PulumiTagMarker
public class TemplateScatterPlotUnaggregatedFieldWellsArgsBuilder 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("cahqswohclbhjmjs")
    public suspend fun category(`value`: Output>) {
        this.category = value
    }

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

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

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

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

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

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

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

    /**
     * @param values The size field well of a scatter plot.
     */
    @JvmName("nyylxmlxhlorqxgn")
    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("rsjcqrnmflkmlyet")
    public suspend fun xAxis(`value`: Output>) {
        this.xAxis = value
    }

    @JvmName("ayxquexffvmgyerw")
    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("vhkefjyqxnauxhuc")
    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("htyrijahuranlsgh")
    public suspend fun yAxis(`value`: Output>) {
        this.yAxis = value
    }

    @JvmName("ywlvpyjkrwgunneg")
    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("gjpaixukllkwfmlm")
    public suspend fun yAxis(values: List>) {
        this.yAxis = Output.all(values)
    }

    /**
     * @param value The category field well of a scatter plot.
     */
    @JvmName("pnqhjcxqahqsbjqp")
    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("imablghxynbxuvti")
    public suspend fun category(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.category = mapped
    }

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

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

    /**
     * @param values The category field well of a scatter plot.
     */
    @JvmName("wdkqkhnsuvthmdhh")
    public suspend fun category(vararg values: TemplateDimensionFieldArgs) {
        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("vmokqlfnfbkvycnd")
    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("wdtlliwyhteubfeb")
    public suspend fun label(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.label = mapped
    }

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

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

    /**
     * @param values The label field well of a scatter plot.
     */
    @JvmName("dgsrufnemtuyndom")
    public suspend fun label(vararg values: TemplateDimensionFieldArgs) {
        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("gfhshoauswkwcnnu")
    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("yteoklravsbftpdp")
    public suspend fun size(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.size = mapped
    }

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

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

    /**
     * @param values The size field well of a scatter plot.
     */
    @JvmName("qnptinvfcjyllexx")
    public suspend fun size(vararg values: TemplateMeasureFieldArgs) {
        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("cmhfknyumcssvdtd")
    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("aqcqqaagukddqlew")
    public suspend fun xAxis(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().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("rhagubiqusxygbde")
    public suspend fun xAxis(vararg argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().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("xfaabmkbyhlolywj")
    public suspend fun xAxis(argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TemplateDimensionFieldArgsBuilder().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("figmluvqaoavapuy")
    public suspend fun xAxis(vararg values: TemplateDimensionFieldArgs) {
        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("oxirmfjhiwckiwaq")
    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("uqggirmxhravpigo")
    public suspend fun yAxis(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().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("pyyaeqwuqgkrarxy")
    public suspend fun yAxis(vararg argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().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("mlrvspjcaeacghjb")
    public suspend fun yAxis(argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TemplateDimensionFieldArgsBuilder().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("hqxrpkegaytdrulq")
    public suspend fun yAxis(vararg values: TemplateDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.yAxis = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy