com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPivotTableFieldCollapseStateOption.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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)
}),
)
}
}