Enum RecoveryPointTierStatus
- java.lang.Object
-
- java.lang.Enum<RecoveryPointTierStatus>
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTierStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<RecoveryPointTierStatus>
public enum RecoveryPointTierStatus extends Enum<RecoveryPointTierStatus>
Defines values for RecoveryPointTierStatus.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETED
Enum value Deleted.DISABLED
Enum value Disabled.INVALID
Enum value Invalid.REHYDRATED
Enum value Rehydrated.VALID
Enum value Valid.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecoveryPointTierStatus
fromString(String value)
Parses a serialized value to a RecoveryPointTierStatus instance.String
toString()
static RecoveryPointTierStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static RecoveryPointTierStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final RecoveryPointTierStatus INVALID
Enum value Invalid.
-
VALID
public static final RecoveryPointTierStatus VALID
Enum value Valid.
-
DISABLED
public static final RecoveryPointTierStatus DISABLED
Enum value Disabled.
-
DELETED
public static final RecoveryPointTierStatus DELETED
Enum value Deleted.
-
REHYDRATED
public static final RecoveryPointTierStatus REHYDRATED
Enum value Rehydrated.
-
-
Method Detail
-
values
public static RecoveryPointTierStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RecoveryPointTierStatus c : RecoveryPointTierStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecoveryPointTierStatus valueOf(String name)
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
public static RecoveryPointTierStatus fromString(String value)
Parses a serialized value to a RecoveryPointTierStatus instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed RecoveryPointTierStatus object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<RecoveryPointTierStatus>
-
-