com.pulumi.awsnative.ssm.kotlin.enums.DocumentUpdateMethod.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.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 }
}
}