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

com.pulumi.awsnative.glue.kotlin.inputs.SchemaVersionArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.glue.kotlin.inputs

import com.pulumi.awsnative.glue.inputs.SchemaVersionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * 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 SchemaVersionArgs(
    public val isLatest: Output? = null,
    public val versionNumber: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.glue.inputs.SchemaVersionArgs =
        com.pulumi.awsnative.glue.inputs.SchemaVersionArgs.builder()
            .isLatest(isLatest?.applyValue({ args0 -> args0 }))
            .versionNumber(versionNumber?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SchemaVersionArgs].
 */
@PulumiTagMarker
public class SchemaVersionArgsBuilder internal constructor() {
    private var isLatest: Output? = null

    private var versionNumber: Output? = null

    /**
     * @param value Indicates if the latest version needs to be updated.
     */
    @JvmName("pjiohdxofdrxcthp")
    public suspend fun isLatest(`value`: Output) {
        this.isLatest = value
    }

    /**
     * @param value Indicates the version number in the schema to update.
     */
    @JvmName("uehkyxlgamwvieki")
    public suspend fun versionNumber(`value`: Output) {
        this.versionNumber = value
    }

    /**
     * @param value Indicates if the latest version needs to be updated.
     */
    @JvmName("xpfxjfmhrgptuqsb")
    public suspend fun isLatest(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.isLatest = mapped
    }

    /**
     * @param value Indicates the version number in the schema to update.
     */
    @JvmName("dsnoxitbvslnmdfy")
    public suspend fun versionNumber(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.versionNumber = mapped
    }

    internal fun build(): SchemaVersionArgs = SchemaVersionArgs(
        isLatest = isLatest,
        versionNumber = versionNumber,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy