Class RecoveryMode
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<RecoveryMode>
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryMode
-
public final class RecoveryMode extends com.azure.core.util.ExpandableStringEnum<RecoveryMode>
Defines values for RecoveryMode.
-
-
Field Summary
Fields Modifier and Type Field Description static RecoveryMode
FILE_RECOVERY
Static value FileRecovery for RecoveryMode.static RecoveryMode
INVALID
Static value Invalid for RecoveryMode.static RecoveryMode
WORKLOAD_RECOVERY
Static value WorkloadRecovery for RecoveryMode.
-
Constructor Summary
Constructors Constructor Description RecoveryMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RecoveryMode
fromString(String name)
Creates or finds a RecoveryMode from its string representation.static Collection<RecoveryMode>
values()
Gets known RecoveryMode values.
-
-
-
Field Detail
-
INVALID
public static final RecoveryMode INVALID
Static value Invalid for RecoveryMode.
-
FILE_RECOVERY
public static final RecoveryMode FILE_RECOVERY
Static value FileRecovery for RecoveryMode.
-
WORKLOAD_RECOVERY
public static final RecoveryMode WORKLOAD_RECOVERY
Static value WorkloadRecovery for RecoveryMode.
-
-
Method Detail
-
fromString
public static RecoveryMode fromString(String name)
Creates or finds a RecoveryMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding RecoveryMode.
-
values
public static Collection<RecoveryMode> values()
Gets known RecoveryMode values.- Returns:
- known RecoveryMode values.
-
-