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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableFieldOptionsArgs.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 DashboardPivotTableFieldOptionsArgs(
    public val collapseStateOptions: Output>? =
        null,
    public val dataPathOptions: Output>? = null,
    public val selectedFieldOptions: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableFieldOptionsArgs = com.pulumi.awsnative.quicksight.inputs.DashboardPivotTableFieldOptionsArgs.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 [DashboardPivotTableFieldOptionsArgs].
 */
@PulumiTagMarker
public class DashboardPivotTableFieldOptionsArgsBuilder 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("wvnohpmqjtypsomw")
    public suspend fun collapseStateOptions(`value`: Output>) {
        this.collapseStateOptions = value
    }

    @JvmName("yvuucwwuixciuxfk")
    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("gygjmoamfasygeak")
    public suspend fun collapseStateOptions(values: List>) {
        this.collapseStateOptions = Output.all(values)
    }

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

    @JvmName("icbsmcdetueohhia")
    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("iagctghdhlsxlrif")
    public suspend fun dataPathOptions(values: List>) {
        this.dataPathOptions = Output.all(values)
    }

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

    @JvmName("thaohdqqaegcwinl")
    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("ipksphtadkbpsrls")
    public suspend fun selectedFieldOptions(values: List>) {
        this.selectedFieldOptions = Output.all(values)
    }

    /**
     * @param value The collapse state options for the pivot table field options.
     */
    @JvmName("nwlavgltuaietljt")
    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("oskejhpysgwyakwy")
    public suspend fun collapseStateOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardPivotTableFieldCollapseStateOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.collapseStateOptions = mapped
    }

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

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

    /**
     * @param values The collapse state options for the pivot table field options.
     */
    @JvmName("nwcufblnyqiionua")
    public suspend fun collapseStateOptions(vararg values: DashboardPivotTableFieldCollapseStateOptionArgs) {
        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("jmtykpstorbgoors")
    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("eqfhfcpwukcmlkpu")
    public suspend fun dataPathOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardPivotTableDataPathOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.dataPathOptions = mapped
    }

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

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

    /**
     * @param values The data path options for the pivot table field options.
     */
    @JvmName("sqvtocrujykpgeew")
    public suspend fun dataPathOptions(vararg values: DashboardPivotTableDataPathOptionArgs) {
        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("wmilmuqcxxixtauc")
    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("gbueooxwnybiaanh")
    public suspend fun selectedFieldOptions(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            DashboardPivotTableFieldOptionArgsBuilder().applySuspend { it() }.build()
        }
        val mapped = of(toBeMapped)
        this.selectedFieldOptions = mapped
    }

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy