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>
Backup state of this backup item.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ProtectionState
Static value Invalid for ProtectionState.static final ProtectionState
Static value IRPending for ProtectionState.static final ProtectionState
Static value Protected for ProtectionState.static final ProtectionState
Static value ProtectionError for ProtectionState.static final ProtectionState
Static value ProtectionPaused for ProtectionState.static final ProtectionState
Static value ProtectionStopped for ProtectionState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtectionState
fromString
(String name) Creates or finds a ProtectionState from its string representation.static Collection<ProtectionState>
values()
Gets known ProtectionState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for ProtectionState. -
IRPENDING
Static value IRPending for ProtectionState. -
PROTECTED
Static value Protected for ProtectionState. -
PROTECTION_ERROR
Static value ProtectionError for ProtectionState. -
PROTECTION_STOPPED
Static value ProtectionStopped for ProtectionState. -
PROTECTION_PAUSED
Static value ProtectionPaused for ProtectionState.
-
-
Constructor Details
-
ProtectionState
public ProtectionState()
-
-
Method Details
-
fromString
Creates or finds a ProtectionState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ProtectionState.
-
values
Gets known ProtectionState values.- Returns:
- known ProtectionState values.
-