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>
Defines values for ProtectedItemState.
-
-
Field Summary
Fields Modifier and Type Field Description static ProtectedItemState
INVALID
Static value Invalid for ProtectedItemState.static ProtectedItemState
IRPENDING
Static value IRPending for ProtectedItemState.static ProtectedItemState
PROTECTED
Static value Protected for ProtectedItemState.static ProtectedItemState
PROTECTION_ERROR
Static value ProtectionError for ProtectedItemState.static ProtectedItemState
PROTECTION_PAUSED
Static value ProtectionPaused for ProtectedItemState.static ProtectedItemState
PROTECTION_STOPPED
Static value ProtectionStopped for ProtectedItemState.
-
Constructor Summary
Constructors Constructor Description ProtectedItemState()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProtectedItemState
fromString(String name)
Creates or finds a ProtectedItemState from its string representation.static Collection<ProtectedItemState>
values()
Gets known ProtectedItemState values.
-
-
-
Field Detail
-
INVALID
public static final ProtectedItemState INVALID
Static value Invalid for ProtectedItemState.
-
IRPENDING
public static final ProtectedItemState IRPENDING
Static value IRPending for ProtectedItemState.
-
PROTECTED
public static final ProtectedItemState PROTECTED
Static value Protected for ProtectedItemState.
-
PROTECTION_ERROR
public static final ProtectedItemState PROTECTION_ERROR
Static value ProtectionError for ProtectedItemState.
-
PROTECTION_STOPPED
public static final ProtectedItemState PROTECTION_STOPPED
Static value ProtectionStopped for ProtectedItemState.
-
PROTECTION_PAUSED
public static final ProtectedItemState PROTECTION_PAUSED
Static value ProtectionPaused for ProtectedItemState.
-
-
Method Detail
-
fromString
public static ProtectedItemState fromString(String name)
Creates or finds a ProtectedItemState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ProtectedItemState.
-
values
public static Collection<ProtectedItemState> values()
Gets known ProtectedItemState values.- Returns:
- known ProtectedItemState values.
-
-