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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPivotTableFieldCollapseStateOption.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.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisPivotTableFieldCollapseState
import kotlin.Suppress

/**
 *
 * @property state The state of the field target of a pivot table. Choose one of the following options:
 * - `COLLAPSED`
 * - `EXPANDED`
 * @property target A tagged-union object that sets the collapse state.
 */
public data class AnalysisPivotTableFieldCollapseStateOption(
    public val state: AnalysisPivotTableFieldCollapseState? = null,
    public val target: AnalysisPivotTableFieldCollapseStateTarget,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisPivotTableFieldCollapseStateOption): AnalysisPivotTableFieldCollapseStateOption = AnalysisPivotTableFieldCollapseStateOption(
            state = javaType.state().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisPivotTableFieldCollapseState.Companion.toKotlin(args0)
                })
            }).orElse(null),
            target = javaType.target().let({ args0 ->
                com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPivotTableFieldCollapseStateTarget.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy