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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateSankeyDiagramAggregatedFieldWellsArgs.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 TemplateSankeyDiagramAggregatedFieldWellsArgs(
    public val destination: Output>? = null,
    public val source: Output>? = null,
    public val weight: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateSankeyDiagramAggregatedFieldWellsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateSankeyDiagramAggregatedFieldWellsArgs.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 [TemplateSankeyDiagramAggregatedFieldWellsArgs].
 */
@PulumiTagMarker
public class TemplateSankeyDiagramAggregatedFieldWellsArgsBuilder 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("wsduhqsvmnovlqfr")
    public suspend fun destination(`value`: Output>) {
        this.destination = value
    }

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

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

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

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

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

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

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

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

    /**
     * @param value The destination field wells of a sankey diagram.
     */
    @JvmName("dnsdmpjwlnvbpyre")
    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("qaklhnwsrbnyjqje")
    public suspend fun destination(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.destination = mapped
    }

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

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

    /**
     * @param values The destination field wells of a sankey diagram.
     */
    @JvmName("flnmwhrejkxerset")
    public suspend fun destination(vararg values: TemplateDimensionFieldArgs) {
        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("acjhborgnldvcatf")
    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("hotgwraxwxxcbjuo")
    public suspend fun source(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.source = mapped
    }

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

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

    /**
     * @param values The source field wells of a sankey diagram.
     */
    @JvmName("gravxnletousuxyj")
    public suspend fun source(vararg values: TemplateDimensionFieldArgs) {
        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("glmqjhjipxesuyns")
    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("jsdxmjfxurwcrysc")
    public suspend fun weight(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.weight = mapped
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy