
com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetPhysicalTableArgs.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.DataSetPhysicalTableArgs.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
/**
* A view of a data source that contains information about the shape of the data in the
* underlying source. This is a variant type structure. For this structure to be valid,
* only one of the attributes can be non-null.
* @property customSql A physical table type built from the results of the custom SQL query.
* @property relationalTable A physical table type for relational data sources.
* @property s3Source A physical table type for as S3 data source.
*/
public data class DataSetPhysicalTableArgs(
public val customSql: Output? = null,
public val relationalTable: Output? = null,
public val s3Source: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetPhysicalTableArgs =
com.pulumi.awsnative.quicksight.inputs.DataSetPhysicalTableArgs.builder()
.customSql(customSql?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.relationalTable(relationalTable?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.s3Source(s3Source?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [DataSetPhysicalTableArgs].
*/
@PulumiTagMarker
public class DataSetPhysicalTableArgsBuilder internal constructor() {
private var customSql: Output? = null
private var relationalTable: Output? = null
private var s3Source: Output? = null
/**
* @param value A physical table type built from the results of the custom SQL query.
*/
@JvmName("egtnbiuemwfgiupn")
public suspend fun customSql(`value`: Output) {
this.customSql = value
}
/**
* @param value A physical table type for relational data sources.
*/
@JvmName("tjeivevywdbasvwq")
public suspend fun relationalTable(`value`: Output) {
this.relationalTable = value
}
/**
* @param value A physical table type for as S3 data source.
*/
@JvmName("xraymkihlaxxcwqs")
public suspend fun s3Source(`value`: Output) {
this.s3Source = value
}
/**
* @param value A physical table type built from the results of the custom SQL query.
*/
@JvmName("rwfqkpkbpmrqscde")
public suspend fun customSql(`value`: DataSetCustomSqlArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customSql = mapped
}
/**
* @param argument A physical table type built from the results of the custom SQL query.
*/
@JvmName("npatiuclctwuiqdu")
public suspend fun customSql(argument: suspend DataSetCustomSqlArgsBuilder.() -> Unit) {
val toBeMapped = DataSetCustomSqlArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.customSql = mapped
}
/**
* @param value A physical table type for relational data sources.
*/
@JvmName("somrxhjpncbujgoo")
public suspend fun relationalTable(`value`: DataSetRelationalTableArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.relationalTable = mapped
}
/**
* @param argument A physical table type for relational data sources.
*/
@JvmName("dtiwcxairqkyewcq")
public suspend fun relationalTable(argument: suspend DataSetRelationalTableArgsBuilder.() -> Unit) {
val toBeMapped = DataSetRelationalTableArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.relationalTable = mapped
}
/**
* @param value A physical table type for as S3 data source.
*/
@JvmName("kpekcaektxlyverb")
public suspend fun s3Source(`value`: DataSetS3SourceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3Source = mapped
}
/**
* @param argument A physical table type for as S3 data source.
*/
@JvmName("minehbunavfryqcs")
public suspend fun s3Source(argument: suspend DataSetS3SourceArgsBuilder.() -> Unit) {
val toBeMapped = DataSetS3SourceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.s3Source = mapped
}
internal fun build(): DataSetPhysicalTableArgs = DataSetPhysicalTableArgs(
customSql = customSql,
relationalTable = relationalTable,
s3Source = s3Source,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy