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

com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetRelationalTableArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.DataSetRelationalTableArgs.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 physical table type for relational data sources.

* @property catalog

The catalog associated with a table.

* @property dataSourceArn

The Amazon Resource Name (ARN) for the data source.

* @property inputColumns

The column schema of the table.

* @property name

The name of the relational table.

* @property schema

The schema name. This name applies to certain relational database engines.

*/ public data class DataSetRelationalTableArgs( public val catalog: Output? = null, public val dataSourceArn: Output, public val inputColumns: Output>, public val name: Output, public val schema: Output? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetRelationalTableArgs = com.pulumi.awsnative.quicksight.inputs.DataSetRelationalTableArgs.builder() .catalog(catalog?.applyValue({ args0 -> args0 })) .dataSourceArn(dataSourceArn.applyValue({ args0 -> args0 })) .inputColumns( inputColumns.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }), ) .name(name.applyValue({ args0 -> args0 })) .schema(schema?.applyValue({ args0 -> args0 })).build() } /** * Builder for [DataSetRelationalTableArgs]. */ @PulumiTagMarker public class DataSetRelationalTableArgsBuilder internal constructor() { private var catalog: Output? = null private var dataSourceArn: Output? = null private var inputColumns: Output>? = null private var name: Output? = null private var schema: Output? = null /** * @param value

The catalog associated with a table.

*/ @JvmName("ypwwpepylpxiyais") public suspend fun catalog(`value`: Output) { this.catalog = value } /** * @param value

The Amazon Resource Name (ARN) for the data source.

*/ @JvmName("dvnmjovsgplteyss") public suspend fun dataSourceArn(`value`: Output) { this.dataSourceArn = value } /** * @param value

The column schema of the table.

*/ @JvmName("pgaopkvjxuyfysgb") public suspend fun inputColumns(`value`: Output>) { this.inputColumns = value } @JvmName("givcapbprefarfgn") public suspend fun inputColumns(vararg values: Output) { this.inputColumns = Output.all(values.asList()) } /** * @param values

The column schema of the table.

*/ @JvmName("pnthiwggejybmvie") public suspend fun inputColumns(values: List>) { this.inputColumns = Output.all(values) } /** * @param value

The name of the relational table.

*/ @JvmName("turjmhmnryunqgui") public suspend fun name(`value`: Output) { this.name = value } /** * @param value

The schema name. This name applies to certain relational database engines.

*/ @JvmName("wjcyrvuamrpuukqa") public suspend fun schema(`value`: Output) { this.schema = value } /** * @param value

The catalog associated with a table.

*/ @JvmName("eewkpaqhqknvrrvf") public suspend fun catalog(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.catalog = mapped } /** * @param value

The Amazon Resource Name (ARN) for the data source.

*/ @JvmName("ejvjvdobkcaxmkwm") public suspend fun dataSourceArn(`value`: String) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.dataSourceArn = mapped } /** * @param value

The column schema of the table.

*/ @JvmName("goittfxkdpxeypjg") public suspend fun inputColumns(`value`: List) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.inputColumns = mapped } /** * @param argument

The column schema of the table.

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

The column schema of the table.

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

The column schema of the table.

*/ @JvmName("mmxlvngnslpggqww") public suspend fun inputColumns(argument: suspend DataSetInputColumnArgsBuilder.() -> Unit) { val toBeMapped = listOf(DataSetInputColumnArgsBuilder().applySuspend { argument() }.build()) val mapped = of(toBeMapped) this.inputColumns = mapped } /** * @param values

The column schema of the table.

*/ @JvmName("godyvexmxcldaqyt") public suspend fun inputColumns(vararg values: DataSetInputColumnArgs) { val toBeMapped = values.toList() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.inputColumns = mapped } /** * @param value

The name of the relational table.

*/ @JvmName("cauvlkkixyxyryfi") public suspend fun name(`value`: String) { val toBeMapped = value val mapped = toBeMapped.let({ args0 -> of(args0) }) this.name = mapped } /** * @param value

The schema name. This name applies to certain relational database engines.

*/ @JvmName("milkdwktxovxnccc") public suspend fun schema(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.schema = mapped } internal fun build(): DataSetRelationalTableArgs = DataSetRelationalTableArgs( catalog = catalog, dataSourceArn = dataSourceArn ?: throw PulumiNullFieldException("dataSourceArn"), inputColumns = inputColumns ?: throw PulumiNullFieldException("inputColumns"), name = name ?: throw PulumiNullFieldException("name"), schema = schema, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy