Class BackupMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BackupMode>
com.azure.resourcemanager.datamigration.models.BackupMode
An enumeration of backup modes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BackupModeStatic value CreateBackup for BackupMode.static final BackupModeStatic value ExistingBackup for BackupMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BackupModefromString(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.