
com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetLogicalTableArgs.kt Maven / Gradle / Ivy
Show all versions of pulumi-aws-native-kotlin Show documentation
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DataSetLogicalTableArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
* A logical table is a unit that joins and that data
* transformations operate on. A logical table has a source, which can be either a physical
* table or result of a join. When a logical table points to a physical table, the logical
* table acts as a mutable copy of that physical table through transform operations.
* @property alias A display name for the logical table.
* @property dataTransforms Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.
* @property source Source of this logical table.
*/
public data class DataSetLogicalTableArgs(
public val alias: Output,
public val dataTransforms: Output>? = null,
public val source: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetLogicalTableArgs =
com.pulumi.awsnative.quicksight.inputs.DataSetLogicalTableArgs.builder()
.alias(alias.applyValue({ args0 -> args0 }))
.dataTransforms(
dataTransforms?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.source(source.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DataSetLogicalTableArgs].
*/
@PulumiTagMarker
public class DataSetLogicalTableArgsBuilder internal constructor() {
private var alias: Output? = null
private var dataTransforms: Output>? = null
private var source: Output? = null
/**
* @param value A display name for the logical table.
*/
@JvmName("emwoswfiasruekgv")
public suspend fun alias(`value`: Output) {
this.alias = value
}
/**
* @param value Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.
*/
@JvmName("acqxixojdwcsncde")
public suspend fun dataTransforms(`value`: Output>) {
this.dataTransforms = value
}
@JvmName("nbxuubtlyrvbfpnm")
public suspend fun dataTransforms(vararg values: Output) {
this.dataTransforms = Output.all(values.asList())
}
/**
* @param values Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.
*/
@JvmName("rtbgmgxsdclbqbkv")
public suspend fun dataTransforms(values: List