com.pulumi.azurenative.providerhub.kotlin.enums.Policy.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.providerhub.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
public enum class Policy(
public val javaValue: com.pulumi.azurenative.providerhub.enums.Policy,
) : ConvertibleToJava {
NotSpecified(com.pulumi.azurenative.providerhub.enums.Policy.NotSpecified),
SynchronizeBeginExtension(com.pulumi.azurenative.providerhub.enums.Policy.SynchronizeBeginExtension),
;
override fun toJava(): com.pulumi.azurenative.providerhub.enums.Policy = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.providerhub.enums.Policy): Policy =
Policy.values().first { it.javaValue == javaType }
}
}