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

com.pulumi.azurenative.datamigration.kotlin.enums.BackupMode.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.datamigration.kotlin.enums

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

/**
 * Backup Mode to specify whether to use existing backup or create new backup.
 */
public enum class BackupMode(
    public val javaValue: com.pulumi.azurenative.datamigration.enums.BackupMode,
) : ConvertibleToJava {
    CreateBackup(com.pulumi.azurenative.datamigration.enums.BackupMode.CreateBackup),
    ExistingBackup(com.pulumi.azurenative.datamigration.enums.BackupMode.ExistingBackup),
    ;

    override fun toJava(): com.pulumi.azurenative.datamigration.enums.BackupMode = javaValue

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy