Package com.oracle.bmc.datasafe.model
Enum RegistrationPolicy.LifecycleState
- java.lang.Object
-
- java.lang.Enum<RegistrationPolicy.LifecycleState>
-
- com.oracle.bmc.datasafe.model.RegistrationPolicy.LifecycleState
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<RegistrationPolicy.LifecycleState>
- Enclosing class:
- RegistrationPolicy
public static enum RegistrationPolicy.LifecycleState extends Enum<RegistrationPolicy.LifecycleState> implements BmcEnum
The lifecycle state of the registration policy.- CREATING - The registration policy is getting created. - ACTIVE - The registration policy has been successfully created. - UPDATING
- The registration policy is getting updated. - NEEDS_ATTENTION - The registration policy needs attention. - FAILED - The registration policy creation or update has failed. - DELETING
- The registration policy is getting deleted.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ActiveCreatingDeletingFailedNeedsAttentionUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Updating
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegistrationPolicy.LifecycleStatecreate(String key)StringgetValue()static RegistrationPolicy.LifecycleStatevalueOf(String name)Returns the enum constant of this type with the specified name.static RegistrationPolicy.LifecycleState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Creating
public static final RegistrationPolicy.LifecycleState Creating
-
Active
public static final RegistrationPolicy.LifecycleState Active
-
Updating
public static final RegistrationPolicy.LifecycleState Updating
-
NeedsAttention
public static final RegistrationPolicy.LifecycleState NeedsAttention
-
Failed
public static final RegistrationPolicy.LifecycleState Failed
-
Deleting
public static final RegistrationPolicy.LifecycleState Deleting
-
UnknownEnumValue
public static final RegistrationPolicy.LifecycleState 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 RegistrationPolicy.LifecycleState[] 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 (RegistrationPolicy.LifecycleState c : RegistrationPolicy.LifecycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegistrationPolicy.LifecycleState 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 RegistrationPolicy.LifecycleState create(String key)
-
-