com.pulumi.azurenative.azurefleet.kotlin.enums.ComponentName.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.azurefleet.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The component name. Currently, the only allowable value is
* Microsoft-Windows-Shell-Setup.
*/
public enum class ComponentName(
public val javaValue: com.pulumi.azurenative.azurefleet.enums.ComponentName,
) : ConvertibleToJava {
MicrosoftWindowsShellSetup(com.pulumi.azurenative.azurefleet.enums.ComponentName.MicrosoftWindowsShellSetup),
;
override fun toJava(): com.pulumi.azurenative.azurefleet.enums.ComponentName = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.azurefleet.enums.ComponentName): ComponentName = ComponentName.values().first { it.javaValue == javaType }
}
}