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

com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetLogicalTableArgs.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: 1.24.0.0
Show newest version
@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>) { this.dataTransforms = Output.all(values) } /** * @param value Source of this logical table. */ @JvmName("vvxoaywmfxfbkqqj") public suspend fun source(`value`: Output) { this.source = value } /** * @param value

A display name for the logical table.

*/ @JvmName("ivqxlktcykcacbch") public suspend fun alias(`value`: String) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.alias = mapped } /** * @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("ndxvvagisuacrhpf") public suspend fun dataTransforms(`value`: List?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.dataTransforms = mapped } /** * @param argument

Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.

*/ @JvmName("uwrsblqepcexbuoi") public suspend fun dataTransforms(argument: List Unit>) { val toBeMapped = argument.toList().map { DataSetTransformOperationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.dataTransforms = mapped } /** * @param argument

Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.

*/ @JvmName("lcmtjtvqbkocxtev") public suspend fun dataTransforms(vararg argument: suspend DataSetTransformOperationArgsBuilder.() -> Unit) { val toBeMapped = argument.toList().map { DataSetTransformOperationArgsBuilder().applySuspend { it() }.build() } val mapped = of(toBeMapped) this.dataTransforms = mapped } /** * @param argument

Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.

*/ @JvmName("dgauhnfmeamennbs") public suspend fun dataTransforms(argument: suspend DataSetTransformOperationArgsBuilder.() -> Unit) { val toBeMapped = listOf( DataSetTransformOperationArgsBuilder().applySuspend { argument() }.build(), ) val mapped = of(toBeMapped) this.dataTransforms = mapped } /** * @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("mgrnyrvyfrvicvhg") public suspend fun dataTransforms(vararg values: DataSetTransformOperationArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.dataTransforms = mapped } /** * @param value Source of this logical table. */ @JvmName("raqngjytkchhpmsr") public suspend fun source(`value`: DataSetLogicalTableSourceArgs) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.source = mapped } /** * @param argument Source of this logical table. */ @JvmName("jghpayypnidtjicy") public suspend fun source(argument: suspend DataSetLogicalTableSourceArgsBuilder.() -> Unit) { val toBeMapped = DataSetLogicalTableSourceArgsBuilder().applySuspend { argument() }.build() val mapped = of(toBeMapped) this.source = mapped } internal fun build(): DataSetLogicalTableArgs = DataSetLogicalTableArgs( alias = alias ?: throw PulumiNullFieldException("alias"), dataTransforms = dataTransforms, source = source ?: throw PulumiNullFieldException("source"), ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy