com.pulumi.azurenative.storsimple.kotlin.enums.SslStatus.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storsimple.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Signifies whether SSL needs to be enabled or not.
*/
public enum class SslStatus(
public val javaValue: com.pulumi.azurenative.storsimple.enums.SslStatus,
) : ConvertibleToJava {
Enabled(com.pulumi.azurenative.storsimple.enums.SslStatus.Enabled),
Disabled(com.pulumi.azurenative.storsimple.enums.SslStatus.Disabled),
;
override fun toJava(): com.pulumi.azurenative.storsimple.enums.SslStatus = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.storsimple.enums.SslStatus): SslStatus =
SslStatus.values().first { it.javaValue == javaType }
}
}