Class ProtectedItemState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ProtectedItemState>
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectedItemState
public final class ProtectedItemState
extends com.azure.core.util.ExpandableStringEnum<ProtectedItemState>
Backup state of the backed up item.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ProtectedItemState
Static value Invalid for ProtectedItemState.static final ProtectedItemState
Static value IRPending for ProtectedItemState.static final ProtectedItemState
Static value Protected for ProtectedItemState.static final ProtectedItemState
Static value ProtectionError for ProtectedItemState.static final ProtectedItemState
Static value ProtectionPaused for ProtectedItemState.static final ProtectedItemState
Static value ProtectionStopped for ProtectedItemState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtectedItemState
fromString
(String name) Creates or finds a ProtectedItemState from its string representation.static Collection<ProtectedItemState>
values()
Gets known ProtectedItemState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
INVALID
Static value Invalid for ProtectedItemState. -
IRPENDING
Static value IRPending for ProtectedItemState. -
PROTECTED
Static value Protected for ProtectedItemState. -
PROTECTION_ERROR
Static value ProtectionError for ProtectedItemState. -
PROTECTION_STOPPED
Static value ProtectionStopped for ProtectedItemState. -
PROTECTION_PAUSED
Static value ProtectionPaused for ProtectedItemState.
-
-
Constructor Details
-
ProtectedItemState
public ProtectedItemState()
-
-
Method Details
-
fromString
Creates or finds a ProtectedItemState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ProtectedItemState.
-
values
Gets known ProtectedItemState values.- Returns:
- known ProtectedItemState values.
-