com.pulumi.azurenative.storageactions.kotlin.enums.OnFailure.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storageactions.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Action to be taken when the operation fails for a object.
*/
public enum class OnFailure(
public val javaValue: com.pulumi.azurenative.storageactions.enums.OnFailure,
) : ConvertibleToJava {
Break_(com.pulumi.azurenative.storageactions.enums.OnFailure.Break_),
;
override fun toJava(): com.pulumi.azurenative.storageactions.enums.OnFailure = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.storageactions.enums.OnFailure): OnFailure = OnFailure.values().first { it.javaValue == javaType }
}
}