com.pulumi.azurenative.storage.kotlin.enums.HttpProtocol.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storage.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The protocol permitted for a request made with the account SAS.
*/
public enum class HttpProtocol(
public val javaValue: com.pulumi.azurenative.storage.enums.HttpProtocol,
) : ConvertibleToJava {
Https_http(com.pulumi.azurenative.storage.enums.HttpProtocol.Https_http),
Https(com.pulumi.azurenative.storage.enums.HttpProtocol.Https),
;
override fun toJava(): com.pulumi.azurenative.storage.enums.HttpProtocol = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.storage.enums.HttpProtocol): HttpProtocol =
HttpProtocol.values().first { it.javaValue == javaType }
}
}