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

com.pulumi.awsnative.ssm.kotlin.enums.DocumentUpdateMethod.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.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ssm.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Update method - when set to 'Replace', the update will replace the existing document; when set to 'NewVersion', the update will create a new version.
 */
public enum class DocumentUpdateMethod(
    public val javaValue: com.pulumi.awsnative.ssm.enums.DocumentUpdateMethod,
) : ConvertibleToJava {
    Replace(com.pulumi.awsnative.ssm.enums.DocumentUpdateMethod.Replace),
    NewVersion(com.pulumi.awsnative.ssm.enums.DocumentUpdateMethod.NewVersion),
    ;

    override fun toJava(): com.pulumi.awsnative.ssm.enums.DocumentUpdateMethod = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ssm.enums.DocumentUpdateMethod): DocumentUpdateMethod = DocumentUpdateMethod.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy