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