Package com.oracle.bmc.database.model
Enum ExternalDatabaseBase.LifecycleState
- java.lang.Object
-
- java.lang.Enum<ExternalDatabaseBase.LifecycleState>
-
- com.oracle.bmc.database.model.ExternalDatabaseBase.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ExternalDatabaseBase.LifecycleState>
- Enclosing class:
- ExternalDatabaseBase
public static enum ExternalDatabaseBase.LifecycleState extends Enum<ExternalDatabaseBase.LifecycleState> implements BmcEnum
The current state of the Oracle Cloud Infrastructure external database resource.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Available
Failed
NotConnected
Provisioning
Terminated
Terminating
UnknownEnumValue
This 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 ExternalDatabaseBase.LifecycleState
create(String key)
String
getValue()
static ExternalDatabaseBase.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalDatabaseBase.LifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Provisioning
public static final ExternalDatabaseBase.LifecycleState Provisioning
-
NotConnected
public static final ExternalDatabaseBase.LifecycleState NotConnected
-
Available
public static final ExternalDatabaseBase.LifecycleState Available
-
Updating
public static final ExternalDatabaseBase.LifecycleState Updating
-
Terminating
public static final ExternalDatabaseBase.LifecycleState Terminating
-
Terminated
public static final ExternalDatabaseBase.LifecycleState Terminated
-
Failed
public static final ExternalDatabaseBase.LifecycleState Failed
-
UnknownEnumValue
public static final ExternalDatabaseBase.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 ExternalDatabaseBase.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 (ExternalDatabaseBase.LifecycleState c : ExternalDatabaseBase.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 ExternalDatabaseBase.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 ExternalDatabaseBase.LifecycleState create(String key)
-
-