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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisPivotTableAggregatedFieldWellsArgs.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.AnalysisPivotTableAggregatedFieldWellsArgs.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 AnalysisPivotTableAggregatedFieldWellsArgs(
    public val columns: Output>? = null,
    public val rows: Output>? = null,
    public val values: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisPivotTableAggregatedFieldWellsArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisPivotTableAggregatedFieldWellsArgs.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 [AnalysisPivotTableAggregatedFieldWellsArgs].
 */
@PulumiTagMarker
public class AnalysisPivotTableAggregatedFieldWellsArgsBuilder 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("tcgdppkubdwallle")
    public suspend fun columns(`value`: Output>) {
        this.columns = value
    }

    @JvmName("ssevstaixctyxpnj")
    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("mstnflceapuvqxbe")
    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("sfbekvnoqnlgjuum")
    public suspend fun rows(`value`: Output>) {
        this.rows = value
    }

    @JvmName("mqpoxebwxmfewgrk")
    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("utckjfikhhrifknx")
    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("flsmnytklvipcgok")
    public suspend fun values(`value`: Output>) {
        this.values = value
    }

    @JvmName("rmxydcymrbjjipjf")
    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("euifkfswyurinjsb")
    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("utiiyurcvbecjohc")
    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("pmqwcykxaeodwfls")
    public suspend fun columns(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisDimensionFieldArgsBuilder().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("fjfjjuemoohsaawe")
    public suspend fun columns(vararg argument: suspend AnalysisDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisDimensionFieldArgsBuilder().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("hvqkokaipoiqlsuf")
    public suspend fun columns(argument: suspend AnalysisDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisDimensionFieldArgsBuilder().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("ufwkhdofghsuyknc")
    public suspend fun columns(vararg values: AnalysisDimensionFieldArgs) {
        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("kbhvaiopyrsxwrho")
    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("lsdjakjrdmoxnhrk")
    public suspend fun rows(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisDimensionFieldArgsBuilder().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("dtvylgydtkgskbhq")
    public suspend fun rows(vararg argument: suspend AnalysisDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisDimensionFieldArgsBuilder().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("haxkhbfxdvxuickj")
    public suspend fun rows(argument: suspend AnalysisDimensionFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisDimensionFieldArgsBuilder().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("wuulealssjrfjeio")
    public suspend fun rows(vararg values: AnalysisDimensionFieldArgs) {
        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("exgnoaagrtxbthpr")
    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("qhcpjpyduwdyungn")
    public suspend fun values(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisMeasureFieldArgsBuilder().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("japvbcqhkjcdhaui")
    public suspend fun values(vararg argument: suspend AnalysisMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisMeasureFieldArgsBuilder().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("orutojjbknssnest")
    public suspend fun values(argument: suspend AnalysisMeasureFieldArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisMeasureFieldArgsBuilder().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("sliqhpjhrxpimjbd")
    public suspend fun values(vararg values: AnalysisMeasureFieldArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.values = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy