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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy