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