com.pulumi.gcp.datastream.kotlin.inputs.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.datastream.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property column Column name.
* @property dataType The Oracle data type. Full data types list can be found here:
* https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/Data-Types.html
* @property encoding (Output)
* Column encoding.
* @property length (Output)
* Column length.
* @property nullable (Output)
* Whether or not the column can accept a null value.
* @property ordinalPosition (Output)
* The ordinal position of the column in the table.
* @property precision (Output)
* Column precision.
* @property primaryKey (Output)
* Whether or not the column represents a primary key.
* @property scale (Output)
* Column scale.
*/
public data class
StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs(
public val column: Output? = null,
public val dataType: Output? = null,
public val encoding: Output? = null,
public val length: Output? = null,
public val nullable: Output? = null,
public val ordinalPosition: Output? = null,
public val precision: Output? = null,
public val primaryKey: Output? = null,
public val scale: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs =
com.pulumi.gcp.datastream.inputs.StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs.builder()
.column(column?.applyValue({ args0 -> args0 }))
.dataType(dataType?.applyValue({ args0 -> args0 }))
.encoding(encoding?.applyValue({ args0 -> args0 }))
.length(length?.applyValue({ args0 -> args0 }))
.nullable(nullable?.applyValue({ args0 -> args0 }))
.ordinalPosition(ordinalPosition?.applyValue({ args0 -> args0 }))
.precision(precision?.applyValue({ args0 -> args0 }))
.primaryKey(primaryKey?.applyValue({ args0 -> args0 }))
.scale(scale?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs].
*/
@PulumiTagMarker
public class
StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgsBuilder
internal constructor() {
private var column: Output? = null
private var dataType: Output? = null
private var encoding: Output? = null
private var length: Output? = null
private var nullable: Output? = null
private var ordinalPosition: Output? = null
private var precision: Output? = null
private var primaryKey: Output? = null
private var scale: Output? = null
/**
* @param value Column name.
*/
@JvmName("mfehxebnmfumhhyv")
public suspend fun column(`value`: Output) {
this.column = value
}
/**
* @param value The Oracle data type. Full data types list can be found here:
* https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/Data-Types.html
*/
@JvmName("gvuexgmnvfsckckn")
public suspend fun dataType(`value`: Output) {
this.dataType = value
}
/**
* @param value (Output)
* Column encoding.
*/
@JvmName("ptjqvgxriyteyuav")
public suspend fun encoding(`value`: Output) {
this.encoding = value
}
/**
* @param value (Output)
* Column length.
*/
@JvmName("ibcpfifpldajlbmd")
public suspend fun length(`value`: Output) {
this.length = value
}
/**
* @param value (Output)
* Whether or not the column can accept a null value.
*/
@JvmName("gxbpmkicvyddmkan")
public suspend fun nullable(`value`: Output) {
this.nullable = value
}
/**
* @param value (Output)
* The ordinal position of the column in the table.
*/
@JvmName("puxfpjnstmwhaqad")
public suspend fun ordinalPosition(`value`: Output) {
this.ordinalPosition = value
}
/**
* @param value (Output)
* Column precision.
*/
@JvmName("ymfkcbhrbdfidbpk")
public suspend fun precision(`value`: Output) {
this.precision = value
}
/**
* @param value (Output)
* Whether or not the column represents a primary key.
*/
@JvmName("kxggstjiegeyayhb")
public suspend fun primaryKey(`value`: Output) {
this.primaryKey = value
}
/**
* @param value (Output)
* Column scale.
*/
@JvmName("gxfecoacilgwpljs")
public suspend fun scale(`value`: Output) {
this.scale = value
}
/**
* @param value Column name.
*/
@JvmName("fbudxvuauukdoyci")
public suspend fun column(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.column = mapped
}
/**
* @param value The Oracle data type. Full data types list can be found here:
* https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/Data-Types.html
*/
@JvmName("boiaauselqlwbuql")
public suspend fun dataType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.dataType = mapped
}
/**
* @param value (Output)
* Column encoding.
*/
@JvmName("fcsdlatsulhllxjx")
public suspend fun encoding(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encoding = mapped
}
/**
* @param value (Output)
* Column length.
*/
@JvmName("gsagldlvfbfrdiyc")
public suspend fun length(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.length = mapped
}
/**
* @param value (Output)
* Whether or not the column can accept a null value.
*/
@JvmName("aqrfoyajgvguhnsq")
public suspend fun nullable(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.nullable = mapped
}
/**
* @param value (Output)
* The ordinal position of the column in the table.
*/
@JvmName("lnguxxyvewchftux")
public suspend fun ordinalPosition(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ordinalPosition = mapped
}
/**
* @param value (Output)
* Column precision.
*/
@JvmName("gqrvdrmsuomkgxac")
public suspend fun precision(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.precision = mapped
}
/**
* @param value (Output)
* Whether or not the column represents a primary key.
*/
@JvmName("axavqbditdmcqjei")
public suspend fun primaryKey(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.primaryKey = mapped
}
/**
* @param value (Output)
* Column scale.
*/
@JvmName("ouuccdvvnhityaup")
public suspend fun scale(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scale = mapped
}
internal fun build(): StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs =
StreamSourceConfigOracleSourceConfigIncludeObjectsOracleSchemaOracleTableOracleColumnArgs(
column = column,
dataType = dataType,
encoding = encoding,
length = length,
nullable = nullable,
ordinalPosition = ordinalPosition,
precision = precision,
primaryKey = primaryKey,
scale = scale,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy