com.pulumi.azurenative.datashare.kotlin.enums.SynchronizationMode.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datashare.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Synchronization mode
*/
public enum class SynchronizationMode(
public val javaValue: com.pulumi.azurenative.datashare.enums.SynchronizationMode,
) : ConvertibleToJava {
Incremental(com.pulumi.azurenative.datashare.enums.SynchronizationMode.Incremental),
FullSync(com.pulumi.azurenative.datashare.enums.SynchronizationMode.FullSync),
;
override fun toJava(): com.pulumi.azurenative.datashare.enums.SynchronizationMode = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datashare.enums.SynchronizationMode): SynchronizationMode = SynchronizationMode.values().first { it.javaValue == javaType }
}
}