com.pulumi.azurenative.cognitiveservices.kotlin.enums.RoutingMethods.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cognitiveservices.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Multiregion routing methods.
*/
public enum class RoutingMethods(
public val javaValue: com.pulumi.azurenative.cognitiveservices.enums.RoutingMethods,
) : ConvertibleToJava {
Priority(com.pulumi.azurenative.cognitiveservices.enums.RoutingMethods.Priority),
Weighted(com.pulumi.azurenative.cognitiveservices.enums.RoutingMethods.Weighted),
Performance(com.pulumi.azurenative.cognitiveservices.enums.RoutingMethods.Performance),
;
override fun toJava(): com.pulumi.azurenative.cognitiveservices.enums.RoutingMethods = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.cognitiveservices.enums.RoutingMethods): RoutingMethods = RoutingMethods.values().first { it.javaValue == javaType }
}
}