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

com.pulumi.gcp.datastream.kotlin.outputs.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumn.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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 collation Column collation.
 * @property column Column name.
 * @property dataType The MySQL data type. Full data types list can be found here:
 * https://dev.mysql.com/doc/refman/8.0/en/data-types.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 primaryKey Whether or not the column represents a primary key.
 */
public data class StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumn(
    public val collation: String? = null,
    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 primaryKey: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumn): StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumn =
            StreamBackfillAllMysqlExcludedObjectsMysqlDatabaseMysqlTableMysqlColumn(
                collation = javaType.collation().map({ args0 -> args0 }).orElse(null),
                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),
                primaryKey = javaType.primaryKey().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy