com.pulumi.azurenative.cache.kotlin.enums.RdbFrequency.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cache.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Sets the frequency at which a snapshot of the database is created.
*/
public enum class RdbFrequency(
public val javaValue: com.pulumi.azurenative.cache.enums.RdbFrequency,
) : ConvertibleToJava {
_1h(com.pulumi.azurenative.cache.enums.RdbFrequency._1h),
_6h(com.pulumi.azurenative.cache.enums.RdbFrequency._6h),
_12h(com.pulumi.azurenative.cache.enums.RdbFrequency._12h),
;
override fun toJava(): com.pulumi.azurenative.cache.enums.RdbFrequency = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.cache.enums.RdbFrequency): RdbFrequency =
RdbFrequency.values().first { it.javaValue == javaType }
}
}