Class BackupMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BackupMode>
com.azure.resourcemanager.datamigration.models.BackupMode
An enumeration of backup modes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BackupMode
Static value CreateBackup for BackupMode.static final BackupMode
Static value ExistingBackup for BackupMode. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BackupMode
fromString
(String name) Creates or finds a BackupMode from its string representation.static Collection<BackupMode>
values()
Gets known BackupMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
CREATE_BACKUP
Static value CreateBackup for BackupMode. -
EXISTING_BACKUP
Static value ExistingBackup for BackupMode.
-
-
Constructor Details
-
BackupMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of BackupMode value.
-
-
Method Details
-
fromString
Creates or finds a BackupMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding BackupMode.
-
values
Gets known BackupMode values.- Returns:
- known BackupMode values.
-
fromString(String)
factory method.