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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisPivotTableFieldCollapseStateTargetArgs.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.AnalysisPivotTableFieldCollapseStateTargetArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property fieldDataPathValues The data path of the pivot table's header. Used to set the collapse state.
 * @property fieldId The field ID of the pivot table that the collapse state needs to be set to.
 */
public data class AnalysisPivotTableFieldCollapseStateTargetArgs(
    public val fieldDataPathValues: Output>? = null,
    public val fieldId: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisPivotTableFieldCollapseStateTargetArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisPivotTableFieldCollapseStateTargetArgs.builder()
            .fieldDataPathValues(
                fieldDataPathValues?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 -> args0.toJava() })
                    })
                }),
            )
            .fieldId(fieldId?.applyValue({ args0 -> args0 })).build()
}

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

    private var fieldId: Output? = null

    /**
     * @param value The data path of the pivot table's header. Used to set the collapse state.
     */
    @JvmName("xqshdulwdinvedcm")
    public suspend fun fieldDataPathValues(`value`: Output>) {
        this.fieldDataPathValues = value
    }

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

    /**
     * @param values The data path of the pivot table's header. Used to set the collapse state.
     */
    @JvmName("lphuugpeohclreno")
    public suspend fun fieldDataPathValues(values: List>) {
        this.fieldDataPathValues = Output.all(values)
    }

    /**
     * @param value The field ID of the pivot table that the collapse state needs to be set to.
     */
    @JvmName("ttnxsybxjlcykqbw")
    public suspend fun fieldId(`value`: Output) {
        this.fieldId = value
    }

    /**
     * @param value The data path of the pivot table's header. Used to set the collapse state.
     */
    @JvmName("pixovsbnxtestygl")
    public suspend fun fieldDataPathValues(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldDataPathValues = mapped
    }

    /**
     * @param argument The data path of the pivot table's header. Used to set the collapse state.
     */
    @JvmName("tbcktahcxwunvejt")
    public suspend fun fieldDataPathValues(argument: List Unit>) {
        val toBeMapped = argument.toList().map {
            AnalysisDataPathValueArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.fieldDataPathValues = mapped
    }

    /**
     * @param argument The data path of the pivot table's header. Used to set the collapse state.
     */
    @JvmName("kttjdnhfvhfsppqy")
    public suspend fun fieldDataPathValues(vararg argument: suspend AnalysisDataPathValueArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map {
            AnalysisDataPathValueArgsBuilder().applySuspend {
                it()
            }.build()
        }
        val mapped = of(toBeMapped)
        this.fieldDataPathValues = mapped
    }

    /**
     * @param argument The data path of the pivot table's header. Used to set the collapse state.
     */
    @JvmName("pohoedbgaynoichg")
    public suspend fun fieldDataPathValues(argument: suspend AnalysisDataPathValueArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(AnalysisDataPathValueArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.fieldDataPathValues = mapped
    }

    /**
     * @param values The data path of the pivot table's header. Used to set the collapse state.
     */
    @JvmName("dwoumavfjfsfqggi")
    public suspend fun fieldDataPathValues(vararg values: AnalysisDataPathValueArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fieldDataPathValues = mapped
    }

    /**
     * @param value The field ID of the pivot table that the collapse state needs to be set to.
     */
    @JvmName("kqvvdsvsvtscakjy")
    public suspend fun fieldId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fieldId = mapped
    }

    internal fun build(): AnalysisPivotTableFieldCollapseStateTargetArgs =
        AnalysisPivotTableFieldCollapseStateTargetArgs(
            fieldDataPathValues = fieldDataPathValues,
            fieldId = fieldId,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy