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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardSankeyDiagramAggregatedFieldWellsArgs.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 destination The destination field wells of a sankey diagram.
 * @property source The source field wells of a sankey diagram.
 * @property weight The weight field wells of a sankey diagram.
 */
public data class DashboardSankeyDiagramAggregatedFieldWellsArgs(
    public val destination: Output>? = null,
    public val source: Output>? = null,
    public val weight: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardSankeyDiagramAggregatedFieldWellsArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardSankeyDiagramAggregatedFieldWellsArgs.builder()
            .destination(
                destination?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .source(source?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .weight(
                weight?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var source: Output>? = null

    private var weight: Output>? = null

    /**
     * @param value The destination field wells of a sankey diagram.
     */
    @JvmName("mdivyffdjrtpkrqf")
    public suspend fun destination(`value`: Output>) {
        this.destination = value
    }

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

    /**
     * @param values The destination field wells of a sankey diagram.
     */
    @JvmName("ewdxkwbsubxhdmha")
    public suspend fun destination(values: List>) {
        this.destination = Output.all(values)
    }

    /**
     * @param value The source field wells of a sankey diagram.
     */
    @JvmName("pvsgkwlonwskogpo")
    public suspend fun source(`value`: Output>) {
        this.source = value
    }

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

    /**
     * @param values The source field wells of a sankey diagram.
     */
    @JvmName("rdgpkrfwqqtpcuea")
    public suspend fun source(values: List>) {
        this.source = Output.all(values)
    }

    /**
     * @param value The weight field wells of a sankey diagram.
     */
    @JvmName("bsngdenyrajckbui")
    public suspend fun weight(`value`: Output>) {
        this.weight = value
    }

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

    /**
     * @param values The weight field wells of a sankey diagram.
     */
    @JvmName("elpovfpvpkvdanrq")
    public suspend fun weight(values: List>) {
        this.weight = Output.all(values)
    }

    /**
     * @param value The destination field wells of a sankey diagram.
     */
    @JvmName("qeduyykaxrlgecjl")
    public suspend fun destination(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.destination = mapped
    }

    /**
     * @param argument The destination field wells of a sankey diagram.
     */
    @JvmName("edvqebbgaotlabfq")
    public suspend fun destination(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.destination = mapped
    }

    /**
     * @param argument The destination field wells of a sankey diagram.
     */
    @JvmName("gpcdwmcivrgabcvw")
    public suspend fun destination(vararg argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.destination = mapped
    }

    /**
     * @param argument The destination field wells of a sankey diagram.
     */
    @JvmName("adnwhrnsdojmyyat")
    public suspend fun destination(argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardDimensionFieldArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.destination = mapped
    }

    /**
     * @param values The destination field wells of a sankey diagram.
     */
    @JvmName("vdkjqidwutxjiafj")
    public suspend fun destination(vararg values: DashboardDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.destination = mapped
    }

    /**
     * @param value The source field wells of a sankey diagram.
     */
    @JvmName("lmjwojtwsxqmwilr")
    public suspend fun source(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.source = mapped
    }

    /**
     * @param argument The source field wells of a sankey diagram.
     */
    @JvmName("xcjrkmpskibnmiry")
    public suspend fun source(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.source = mapped
    }

    /**
     * @param argument The source field wells of a sankey diagram.
     */
    @JvmName("pxghcvflvdrojdvb")
    public suspend fun source(vararg argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.source = mapped
    }

    /**
     * @param argument The source field wells of a sankey diagram.
     */
    @JvmName("pgnistdlrihfahth")
    public suspend fun source(argument: suspend DashboardDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            DashboardDimensionFieldArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.source = mapped
    }

    /**
     * @param values The source field wells of a sankey diagram.
     */
    @JvmName("rssxvgdxrpmvxrbs")
    public suspend fun source(vararg values: DashboardDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.source = mapped
    }

    /**
     * @param value The weight field wells of a sankey diagram.
     */
    @JvmName("yvwxoumakreytblb")
    public suspend fun weight(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.weight = mapped
    }

    /**
     * @param argument The weight field wells of a sankey diagram.
     */
    @JvmName("mpuoitvmpqtrcbqo")
    public suspend fun weight(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.weight = mapped
    }

    /**
     * @param argument The weight field wells of a sankey diagram.
     */
    @JvmName("jcbserqtvbmguhwh")
    public suspend fun weight(vararg argument: suspend DashboardMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            DashboardMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.weight = mapped
    }

    /**
     * @param argument The weight field wells of a sankey diagram.
     */
    @JvmName("clanhkaygceboiqu")
    public suspend fun weight(argument: suspend DashboardMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(DashboardMeasureFieldArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.weight = mapped
    }

    /**
     * @param values The weight field wells of a sankey diagram.
     */
    @JvmName("jvglhujgkfrtrygx")
    public suspend fun weight(vararg values: DashboardMeasureFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.weight = mapped
    }

    internal fun build(): DashboardSankeyDiagramAggregatedFieldWellsArgs =
        DashboardSankeyDiagramAggregatedFieldWellsArgs(
            destination = destination,
            source = source,
            weight = weight,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy