Enum AutomaticDrConfigurationLifecycleSubState
- java.lang.Object
-
- java.lang.Enum<AutomaticDrConfigurationLifecycleSubState>
-
- com.oracle.bmc.disasterrecovery.model.AutomaticDrConfigurationLifecycleSubState
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<AutomaticDrConfigurationLifecycleSubState>
@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public enum AutomaticDrConfigurationLifecycleSubState extends Enum<AutomaticDrConfigurationLifecycleSubState> implements BmcEnumThe secondary lifecycle states of an Automatic DR configuration.Provides information in addition to the lifecycle state. - RESOURCE_PRINCIPAL_VALIDATION_FAILED - Resource principal validation has failed. - DR_PLAN_NEEDS_ATTENTION - One or more default DR Plans associated with this Automatic DR configuration are not in an ‘Active’ state. - DR_PLAN_INACTIVE - One or more default DR Plans associated with this Automatic DR configuration are in an ‘Inactive’ state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DrPlanInactiveDrPlanNeedsAttentionResourcePrincipalValidationFailedUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomaticDrConfigurationLifecycleSubStatecreate(String key)StringgetValue()static AutomaticDrConfigurationLifecycleSubStatevalueOf(String name)Returns the enum constant of this type with the specified name.static AutomaticDrConfigurationLifecycleSubState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ResourcePrincipalValidationFailed
public static final AutomaticDrConfigurationLifecycleSubState ResourcePrincipalValidationFailed
-
DrPlanNeedsAttention
public static final AutomaticDrConfigurationLifecycleSubState DrPlanNeedsAttention
-
DrPlanInactive
public static final AutomaticDrConfigurationLifecycleSubState DrPlanInactive
-
UnknownEnumValue
public static final AutomaticDrConfigurationLifecycleSubState UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static AutomaticDrConfigurationLifecycleSubState[] 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 (AutomaticDrConfigurationLifecycleSubState c : AutomaticDrConfigurationLifecycleSubState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutomaticDrConfigurationLifecycleSubState 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
-
create
public static AutomaticDrConfigurationLifecycleSubState create(String key)
-
-