com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetColumnGroupArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.DataSetColumnGroupArgs.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.jvm.JvmName
/**
* Groupings of columns that work together in certain Amazon QuickSight features. This is
* a variant type structure. For this structure to be valid, only one of the attributes can
* be non-null.
* @property geoSpatialColumnGroup Geospatial column group that denotes a hierarchy.
*/
public data class DataSetColumnGroupArgs(
public val geoSpatialColumnGroup: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetColumnGroupArgs =
com.pulumi.awsnative.quicksight.inputs.DataSetColumnGroupArgs.builder()
.geoSpatialColumnGroup(
geoSpatialColumnGroup?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DataSetColumnGroupArgs].
*/
@PulumiTagMarker
public class DataSetColumnGroupArgsBuilder internal constructor() {
private var geoSpatialColumnGroup: Output? = null
/**
* @param value Geospatial column group that denotes a hierarchy.
*/
@JvmName("pmnwwwyeyyrkkhyf")
public suspend fun geoSpatialColumnGroup(`value`: Output) {
this.geoSpatialColumnGroup = value
}
/**
* @param value Geospatial column group that denotes a hierarchy.
*/
@JvmName("uakpgdutwmxxwrsm")
public suspend fun geoSpatialColumnGroup(`value`: DataSetGeoSpatialColumnGroupArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.geoSpatialColumnGroup = mapped
}
/**
* @param argument Geospatial column group that denotes a hierarchy.
*/
@JvmName("noipvaeqxccbjgff")
public suspend fun geoSpatialColumnGroup(argument: suspend DataSetGeoSpatialColumnGroupArgsBuilder.() -> Unit) {
val toBeMapped = DataSetGeoSpatialColumnGroupArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.geoSpatialColumnGroup = mapped
}
internal fun build(): DataSetColumnGroupArgs = DataSetColumnGroupArgs(
geoSpatialColumnGroup = geoSpatialColumnGroup,
)
}