com.pulumi.azurenative.cdn.kotlin.enums.RuleCacheBehavior.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cdn.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Caching behavior for the requests
*/
public enum class RuleCacheBehavior(
public val javaValue: com.pulumi.azurenative.cdn.enums.RuleCacheBehavior,
) : ConvertibleToJava {
HonorOrigin(com.pulumi.azurenative.cdn.enums.RuleCacheBehavior.HonorOrigin),
OverrideAlways(com.pulumi.azurenative.cdn.enums.RuleCacheBehavior.OverrideAlways),
OverrideIfOriginMissing(com.pulumi.azurenative.cdn.enums.RuleCacheBehavior.OverrideIfOriginMissing),
;
override fun toJava(): com.pulumi.azurenative.cdn.enums.RuleCacheBehavior = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.cdn.enums.RuleCacheBehavior): RuleCacheBehavior = RuleCacheBehavior.values().first { it.javaValue == javaType }
}
}