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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableFieldOptionsArgs.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 collapseStateOptions The collapse state options for the pivot table field options.
 * @property dataPathOptions The data path options for the pivot table field options.
 * @property selectedFieldOptions The selected field options for the pivot table field options.
 */
public data class TemplatePivotTableFieldOptionsArgs(
    public val collapseStateOptions: Output>? =
        null,
    public val dataPathOptions: Output>? = null,
    public val selectedFieldOptions: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableFieldOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplatePivotTableFieldOptionsArgs.builder()
            .collapseStateOptions(
                collapseStateOptions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .dataPathOptions(
                dataPathOptions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            )
            .selectedFieldOptions(
                selectedFieldOptions?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            ).build()
}

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

    private var dataPathOptions: Output>? = null

    private var selectedFieldOptions: Output>? = null

    /**
     * @param value The collapse state options for the pivot table field options.
     */
    @JvmName("axmkudkvkxxsuqgr")
    public suspend fun collapseStateOptions(`value`: Output>) {
        this.collapseStateOptions = value
    }

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

    /**
     * @param values The collapse state options for the pivot table field options.
     */
    @JvmName("wvihktoiralxovat")
    public suspend fun collapseStateOptions(values: List>) {
        this.collapseStateOptions = Output.all(values)
    }

    /**
     * @param value The data path options for the pivot table field options.
     */
    @JvmName("dhcionuuqreeiwii")
    public suspend fun dataPathOptions(`value`: Output>) {
        this.dataPathOptions = value
    }

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

    /**
     * @param values The data path options for the pivot table field options.
     */
    @JvmName("xrjoiuxrsywqrbym")
    public suspend fun dataPathOptions(values: List>) {
        this.dataPathOptions = Output.all(values)
    }

    /**
     * @param value The selected field options for the pivot table field options.
     */
    @JvmName("nabquqhhsdddfajp")
    public suspend fun selectedFieldOptions(`value`: Output>) {
        this.selectedFieldOptions = value
    }

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

    /**
     * @param values The selected field options for the pivot table field options.
     */
    @JvmName("bsvnqxxaaevlloxv")
    public suspend fun selectedFieldOptions(values: List>) {
        this.selectedFieldOptions = Output.all(values)
    }

    /**
     * @param value The collapse state options for the pivot table field options.
     */
    @JvmName("fxtbxjudacanhiay")
    public suspend fun collapseStateOptions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.collapseStateOptions = mapped
    }

    /**
     * @param argument The collapse state options for the pivot table field options.
     */
    @JvmName("jiqafhmmslvbrqsl")
    public suspend fun collapseStateOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplatePivotTableFieldCollapseStateOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.collapseStateOptions = mapped
    }

    /**
     * @param argument The collapse state options for the pivot table field options.
     */
    @JvmName("qxdervxljddtvvxk")
    public suspend fun collapseStateOptions(vararg argument: suspend TemplatePivotTableFieldCollapseStateOptionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplatePivotTableFieldCollapseStateOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.collapseStateOptions = mapped
    }

    /**
     * @param argument The collapse state options for the pivot table field options.
     */
    @JvmName("nhpphktjqaquqfjt")
    public suspend fun collapseStateOptions(argument: suspend TemplatePivotTableFieldCollapseStateOptionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            TemplatePivotTableFieldCollapseStateOptionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.collapseStateOptions = mapped
    }

    /**
     * @param values The collapse state options for the pivot table field options.
     */
    @JvmName("aqgtnxxxhdujnagp")
    public suspend fun collapseStateOptions(vararg values: TemplatePivotTableFieldCollapseStateOptionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.collapseStateOptions = mapped
    }

    /**
     * @param value The data path options for the pivot table field options.
     */
    @JvmName("wvwhsaojjuqapjyq")
    public suspend fun dataPathOptions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataPathOptions = mapped
    }

    /**
     * @param argument The data path options for the pivot table field options.
     */
    @JvmName("lvmbptouljbjcscg")
    public suspend fun dataPathOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplatePivotTableDataPathOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dataPathOptions = mapped
    }

    /**
     * @param argument The data path options for the pivot table field options.
     */
    @JvmName("khuewtckrdxpvqju")
    public suspend fun dataPathOptions(vararg argument: suspend TemplatePivotTableDataPathOptionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplatePivotTableDataPathOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dataPathOptions = mapped
    }

    /**
     * @param argument The data path options for the pivot table field options.
     */
    @JvmName("jvpxomppkopqdmru")
    public suspend fun dataPathOptions(argument: suspend TemplatePivotTableDataPathOptionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            TemplatePivotTableDataPathOptionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.dataPathOptions = mapped
    }

    /**
     * @param values The data path options for the pivot table field options.
     */
    @JvmName("kphocjsumaitmiqw")
    public suspend fun dataPathOptions(vararg values: TemplatePivotTableDataPathOptionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.dataPathOptions = mapped
    }

    /**
     * @param value The selected field options for the pivot table field options.
     */
    @JvmName("qvemabxtvvyhxweq")
    public suspend fun selectedFieldOptions(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.selectedFieldOptions = mapped
    }

    /**
     * @param argument The selected field options for the pivot table field options.
     */
    @JvmName("volygdpiwcjclxtn")
    public suspend fun selectedFieldOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            TemplatePivotTableFieldOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.selectedFieldOptions = mapped
    }

    /**
     * @param argument The selected field options for the pivot table field options.
     */
    @JvmName("aqfjjgernoamqgvh")
    public suspend fun selectedFieldOptions(vararg argument: suspend TemplatePivotTableFieldOptionArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            TemplatePivotTableFieldOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.selectedFieldOptions = mapped
    }

    /**
     * @param argument The selected field options for the pivot table field options.
     */
    @JvmName("bgvtcxupdkpxewld")
    public suspend fun selectedFieldOptions(argument: suspend TemplatePivotTableFieldOptionArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(
            TemplatePivotTableFieldOptionArgsBuilder().applySuspend {
                argument()
            }.build(),
        )
        val mapped = of(toBeMapped)
        this.selectedFieldOptions = mapped
    }

    /**
     * @param values The selected field options for the pivot table field options.
     */
    @JvmName("mefbrnlhsnglbmhw")
    public suspend fun selectedFieldOptions(vararg values: TemplatePivotTableFieldOptionArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.selectedFieldOptions = mapped
    }

    internal fun build(): TemplatePivotTableFieldOptionsArgs = TemplatePivotTableFieldOptionsArgs(
        collapseStateOptions = collapseStateOptions,
        dataPathOptions = dataPathOptions,
        selectedFieldOptions = selectedFieldOptions,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy