com.pulumi.azurenative.networkanalytics.kotlin.enums.ControlState.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.networkanalytics.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Flag to enable or disable redundancy for data product.
*/
public enum class ControlState(
public val javaValue: com.pulumi.azurenative.networkanalytics.enums.ControlState,
) : ConvertibleToJava {
/**
* Field to enable a setting.
*/
Enabled(com.pulumi.azurenative.networkanalytics.enums.ControlState.Enabled),
/**
* Field to disable a setting.
*/
Disabled(com.pulumi.azurenative.networkanalytics.enums.ControlState.Disabled),
;
override fun toJava(): com.pulumi.azurenative.networkanalytics.enums.ControlState = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.networkanalytics.enums.ControlState): ControlState = ControlState.values().first { it.javaValue == javaType }
}
}