
com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetLogicalTableSourceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DataSetLogicalTableSourceArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Information about the source of a logical table. This is a variant type structure. For
* this structure to be valid, only one of the attributes can be non-null.
* @property dataSetArn The Amazon Resource Number (ARN) of the parent dataset.
* @property joinInstruction Specifies the result of a join of two logical tables.
* @property physicalTableId Physical table ID.
*/
public data class DataSetLogicalTableSourceArgs(
public val dataSetArn: Output? = null,
public val joinInstruction: Output? = null,
public val physicalTableId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetLogicalTableSourceArgs =
com.pulumi.awsnative.quicksight.inputs.DataSetLogicalTableSourceArgs.builder()
.dataSetArn(dataSetArn?.applyValue({ args0 -> args0 }))
.joinInstruction(joinInstruction?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.physicalTableId(physicalTableId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSetLogicalTableSourceArgs].
*/
@PulumiTagMarker
public class DataSetLogicalTableSourceArgsBuilder internal constructor() {
private var dataSetArn: Output? = null
private var joinInstruction: Output? = null
private var physicalTableId: Output? = null
/**
* @param value The Amazon Resource Number (ARN) of the parent dataset.
*/
@JvmName("edrrutlfjoccuahh")
public suspend fun dataSetArn(`value`: Output) {
this.dataSetArn = value
}
/**
* @param value Specifies the result of a join of two logical tables.
*/
@JvmName("nqcyrqaeymtkxwxn")
public suspend fun joinInstruction(`value`: Output) {
this.joinInstruction = value
}
/**
* @param value Physical table ID.
*/
@JvmName("pnkvytfvjwchlhea")
public suspend fun physicalTableId(`value`: Output) {
this.physicalTableId = value
}
/**
* @param value The Amazon Resource Number (ARN) of the parent dataset.
*/
@JvmName("wujdlrlawkgsbfrv")
public suspend fun dataSetArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataSetArn = mapped
}
/**
* @param value Specifies the result of a join of two logical tables.
*/
@JvmName("tfeelsobolhkiigp")
public suspend fun joinInstruction(`value`: DataSetJoinInstructionArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.joinInstruction = mapped
}
/**
* @param argument Specifies the result of a join of two logical tables.
*/
@JvmName("etlsqnvexjnewtdq")
public suspend fun joinInstruction(argument: suspend DataSetJoinInstructionArgsBuilder.() -> Unit) {
val toBeMapped = DataSetJoinInstructionArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.joinInstruction = mapped
}
/**
* @param value Physical table ID.
*/
@JvmName("gjutcmuknwujptgb")
public suspend fun physicalTableId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.physicalTableId = mapped
}
internal fun build(): DataSetLogicalTableSourceArgs = DataSetLogicalTableSourceArgs(
dataSetArn = dataSetArn,
joinInstruction = joinInstruction,
physicalTableId = physicalTableId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy