All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.recoveryservices.kotlin.enums.CreateMode.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.recoveryservices.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
 */
public enum class CreateMode(
    public val javaValue: com.pulumi.azurenative.recoveryservices.enums.CreateMode,
) : ConvertibleToJava {
    Invalid(com.pulumi.azurenative.recoveryservices.enums.CreateMode.Invalid),
    Default(com.pulumi.azurenative.recoveryservices.enums.CreateMode.Default),
    Recover(com.pulumi.azurenative.recoveryservices.enums.CreateMode.Recover),
    ;

    override fun toJava(): com.pulumi.azurenative.recoveryservices.enums.CreateMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.recoveryservices.enums.CreateMode): CreateMode = CreateMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy