com.pulumi.azurenative.network.kotlin.enums.LoadDistribution.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The load distribution policy for this rule.
*/
public enum class LoadDistribution(
public val javaValue: com.pulumi.azurenative.network.enums.LoadDistribution,
) : ConvertibleToJava {
Default(com.pulumi.azurenative.network.enums.LoadDistribution.Default),
SourceIP(com.pulumi.azurenative.network.enums.LoadDistribution.SourceIP),
SourceIPProtocol(com.pulumi.azurenative.network.enums.LoadDistribution.SourceIPProtocol),
;
override fun toJava(): com.pulumi.azurenative.network.enums.LoadDistribution = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.network.enums.LoadDistribution): LoadDistribution = LoadDistribution.values().first { it.javaValue == javaType }
}
}