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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplatePivotTableAggregatedFieldWellsArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableAggregatedFieldWellsArgs.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 columns The columns field well for a pivot table. Values are grouped by columns fields.
 * @property rows The rows field well for a pivot table. Values are grouped by rows fields.
 * @property values The values field well for a pivot table. Values are aggregated based on rows and columns fields.
 */
public data class TemplatePivotTableAggregatedFieldWellsArgs(
    public val columns: Output>? = null,
    public val rows: Output>? = null,
    public val values: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableAggregatedFieldWellsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableAggregatedFieldWellsArgs.builder()
            .columns(
                columns?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .rows(rows?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
            .values(
                values?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

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

    private var rows: Output>? = null

    private var values: Output>? = null

    /**
     * @param value The columns field well for a pivot table. Values are grouped by columns fields.
     */
    @JvmName("clvvghpqdqtraglu")
    public suspend fun columns(`value`: Output>) {
        this.columns = value
    }

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

    /**
     * @param values The columns field well for a pivot table. Values are grouped by columns fields.
     */
    @JvmName("umfsuyjgunektkqo")
    public suspend fun columns(values: List>) {
        this.columns = Output.all(values)
    }

    /**
     * @param value The rows field well for a pivot table. Values are grouped by rows fields.
     */
    @JvmName("ciaqaofardymdnyj")
    public suspend fun rows(`value`: Output>) {
        this.rows = value
    }

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

    /**
     * @param values The rows field well for a pivot table. Values are grouped by rows fields.
     */
    @JvmName("fdoaddgnidifefks")
    public suspend fun rows(values: List>) {
        this.rows = Output.all(values)
    }

    /**
     * @param value The values field well for a pivot table. Values are aggregated based on rows and columns fields.
     */
    @JvmName("wbmvkngjnbugpwej")
    public suspend fun values(`value`: Output>) {
        this.values = value
    }

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

    /**
     * @param values The values field well for a pivot table. Values are aggregated based on rows and columns fields.
     */
    @JvmName("lfglcurodhbrjwoq")
    public suspend fun values(values: List>) {
        this.values = Output.all(values)
    }

    /**
     * @param value The columns field well for a pivot table. Values are grouped by columns fields.
     */
    @JvmName("fdrmuibeudjdbpfn")
    public suspend fun columns(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.columns = mapped
    }

    /**
     * @param argument The columns field well for a pivot table. Values are grouped by columns fields.
     */
    @JvmName("gyuinrmnmlewminq")
    public suspend fun columns(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columns = mapped
    }

    /**
     * @param argument The columns field well for a pivot table. Values are grouped by columns fields.
     */
    @JvmName("jaafgjkeogfiddrd")
    public suspend fun columns(vararg argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.columns = mapped
    }

    /**
     * @param argument The columns field well for a pivot table. Values are grouped by columns fields.
     */
    @JvmName("cbmebhxedubsnbjm")
    public suspend fun columns(argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TemplateDimensionFieldArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.columns = mapped
    }

    /**
     * @param values The columns field well for a pivot table. Values are grouped by columns fields.
     */
    @JvmName("puedxslvrutojpss")
    public suspend fun columns(vararg values: TemplateDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columns = mapped
    }

    /**
     * @param value The rows field well for a pivot table. Values are grouped by rows fields.
     */
    @JvmName("ancigjecupsnymhq")
    public suspend fun rows(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rows = mapped
    }

    /**
     * @param argument The rows field well for a pivot table. Values are grouped by rows fields.
     */
    @JvmName("amydmfpctvduietw")
    public suspend fun rows(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.rows = mapped
    }

    /**
     * @param argument The rows field well for a pivot table. Values are grouped by rows fields.
     */
    @JvmName("xyfpxmdodguodvxq")
    public suspend fun rows(vararg argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplateDimensionFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.rows = mapped
    }

    /**
     * @param argument The rows field well for a pivot table. Values are grouped by rows fields.
     */
    @JvmName("yjtfwileymrfnuaa")
    public suspend fun rows(argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TemplateDimensionFieldArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.rows = mapped
    }

    /**
     * @param values The rows field well for a pivot table. Values are grouped by rows fields.
     */
    @JvmName("lkmksdrsvohmpllg")
    public suspend fun rows(vararg values: TemplateDimensionFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.rows = mapped
    }

    /**
     * @param value The values field well for a pivot table. Values are aggregated based on rows and columns fields.
     */
    @JvmName("mmdwvoqnqpvbksea")
    public suspend fun values(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.values = mapped
    }

    /**
     * @param argument The values field well for a pivot table. Values are aggregated based on rows and columns fields.
     */
    @JvmName("myksywjitojncmry")
    public suspend fun values(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplateMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.values = mapped
    }

    /**
     * @param argument The values field well for a pivot table. Values are aggregated based on rows and columns fields.
     */
    @JvmName("xlbfsvutilebqowh")
    public suspend fun values(vararg argument: suspend TemplateMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplateMeasureFieldArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.values = mapped
    }

    /**
     * @param argument The values field well for a pivot table. Values are aggregated based on rows and columns fields.
     */
    @JvmName("pjcmvlsrfhkkjnsu")
    public suspend fun values(argument: suspend TemplateMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TemplateMeasureFieldArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.values = mapped
    }

    /**
     * @param values The values field well for a pivot table. Values are aggregated based on rows and columns fields.
     */
    @JvmName("fonxhpvtrylodbgg")
    public suspend fun values(vararg values: TemplateMeasureFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.values = mapped
    }

    internal fun build(): TemplatePivotTableAggregatedFieldWellsArgs =
        TemplatePivotTableAggregatedFieldWellsArgs(
            columns = columns,
            rows = rows,
            values = values,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy