com.pulumi.azurenative.storagemover.kotlin.enums.CopyMode.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.storagemover.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Strategy to use for copy.
*/
public enum class CopyMode(
public val javaValue: com.pulumi.azurenative.storagemover.enums.CopyMode,
) : ConvertibleToJava {
Additive(com.pulumi.azurenative.storagemover.enums.CopyMode.Additive),
Mirror(com.pulumi.azurenative.storagemover.enums.CopyMode.Mirror),
;
override fun toJava(): com.pulumi.azurenative.storagemover.enums.CopyMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.storagemover.enums.CopyMode): CopyMode =
CopyMode.values().first { it.javaValue == javaType }
}
}