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