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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy