com.pulumi.gcp.datastream.kotlin.outputs.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumn.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 PostgreSQL data type. Full data types list can be found here:
* https://www.postgresql.org/docs/current/datatype.html
* @property length (Output)
* Column length.
* @property nullable Whether or not the column can accept a null value.
* @property ordinalPosition The ordinal position of the column in the table.
* @property precision (Output)
* Column precision.
* @property primaryKey Whether or not the column represents a primary key.
* @property scale (Output)
* Column scale.
*/
public data class
StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumn(
public val column: String? = null,
public val dataType: 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.StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumn): StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumn =
StreamSourceConfigPostgresqlSourceConfigExcludeObjectsPostgresqlSchemaPostgresqlTablePostgresqlColumn(
column = javaType.column().map({ args0 -> args0 }).orElse(null),
dataType = javaType.dataType().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