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

com.pulumi.awsnative.glue.kotlin.outputs.SchemaVersion.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.glue.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress

/**
 * Specify checkpoint version for update. This is only required to update the Compatibility.
 * @property isLatest Indicates if the latest version needs to be updated.
 * @property versionNumber Indicates the version number in the schema to update.
 */
public data class SchemaVersion(
    public val isLatest: Boolean? = null,
    public val versionNumber: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.glue.outputs.SchemaVersion): SchemaVersion =
            SchemaVersion(
                isLatest = javaType.isLatest().map({ args0 -> args0 }).orElse(null),
                versionNumber = javaType.versionNumber().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy