com.pulumi.azurenative.storagecache.kotlin.enums.NfsAccessRuleAccess.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storagecache.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Access allowed by this rule.
*/
public enum class NfsAccessRuleAccess(
public val javaValue: com.pulumi.azurenative.storagecache.enums.NfsAccessRuleAccess,
) : ConvertibleToJava {
No(com.pulumi.azurenative.storagecache.enums.NfsAccessRuleAccess.No),
Ro(com.pulumi.azurenative.storagecache.enums.NfsAccessRuleAccess.Ro),
Rw(com.pulumi.azurenative.storagecache.enums.NfsAccessRuleAccess.Rw),
;
override fun toJava(): com.pulumi.azurenative.storagecache.enums.NfsAccessRuleAccess = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.storagecache.enums.NfsAccessRuleAccess): NfsAccessRuleAccess = NfsAccessRuleAccess.values().first { it.javaValue == javaType }
}
}