Enum RecoveryPointTierType
java.lang.Object
java.lang.Enum<RecoveryPointTierType>
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTierType
- All Implemented Interfaces:
Serializable
,Comparable<RecoveryPointTierType>
,java.lang.constant.Constable
Recovery point tier type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEnum value ArchivedRP.Enum value HardenedRP.Enum value InstantRP.Enum value Invalid. -
Method Summary
Modifier and TypeMethodDescriptionstatic RecoveryPointTierType
fromString
(String value) Parses a serialized value to a RecoveryPointTierType instance.toString()
static RecoveryPointTierType
Returns the enum constant of this type with the specified name.static RecoveryPointTierType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVALID
Enum value Invalid. -
INSTANT_RP
Enum value InstantRP. -
HARDENED_RP
Enum value HardenedRP. -
ARCHIVED_RP
Enum value ArchivedRP.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
Parses a serialized value to a RecoveryPointTierType instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed RecoveryPointTierType object, or null if unable to parse.
-
toString
- Overrides:
toString
in classEnum<RecoveryPointTierType>
-