com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumn.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.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @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
StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumn(
public val column: String? = null,
public val dataType: String? = null,
public val encoding: String? = null,
public val length: Int? = null,
public val nullable: Boolean? = null,
public val ordinalPosition: Int? = null,
public val precision: Int? = null,
public val primaryKey: Boolean? = null,
public val scale: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumn): StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumn =
StreamSourceConfigOracleSourceConfigExcludeObjectsOracleSchemaOracleTableOracleColumn(
column = javaType.column().map({ args0 -> args0 }).orElse(null),
dataType = javaType.dataType().map({ args0 -> args0 }).orElse(null),
encoding = javaType.encoding().map({ args0 -> args0 }).orElse(null),
length = javaType.length().map({ args0 -> args0 }).orElse(null),
nullable = javaType.nullable().map({ args0 -> args0 }).orElse(null),
ordinalPosition = javaType.ordinalPosition().map({ args0 -> args0 }).orElse(null),
precision = javaType.precision().map({ args0 -> args0 }).orElse(null),
primaryKey = javaType.primaryKey().map({ args0 -> args0 }).orElse(null),
scale = javaType.scale().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy