Package com.oracle.bmc.datasafe.model
Enum TargetDatabaseLifecycleState
- java.lang.Object
-
- java.lang.Enum<TargetDatabaseLifecycleState>
-
- com.oracle.bmc.datasafe.model.TargetDatabaseLifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<TargetDatabaseLifecycleState>
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public enum TargetDatabaseLifecycleState extends Enum<TargetDatabaseLifecycleState> implements BmcEnum
The lifecycle state of the target database.- CREATING - Represents that the target database is creating. - UPDATING - Represents that the target database is updating. - ACTIVE - Represents that the target database is active. - INACTIVE - Represents that the target database is inactive.
- DELETING - Represents that the target database is deleting. - DELETED - Represents that the target database is deleted. - NEEDS_ATTENTION - Represents that the target database needs user attention. - FAILED - Represents that the target database is failed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Active
Creating
Deleted
Deleting
Failed
Inactive
NeedsAttention
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 TargetDatabaseLifecycleState
create(String key)
String
getValue()
static TargetDatabaseLifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static TargetDatabaseLifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Creating
public static final TargetDatabaseLifecycleState Creating
-
Updating
public static final TargetDatabaseLifecycleState Updating
-
Active
public static final TargetDatabaseLifecycleState Active
-
Inactive
public static final TargetDatabaseLifecycleState Inactive
-
Deleting
public static final TargetDatabaseLifecycleState Deleting
-
Deleted
public static final TargetDatabaseLifecycleState Deleted
-
NeedsAttention
public static final TargetDatabaseLifecycleState NeedsAttention
-
Failed
public static final TargetDatabaseLifecycleState Failed
-
UnknownEnumValue
public static final TargetDatabaseLifecycleState 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 TargetDatabaseLifecycleState[] 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 (TargetDatabaseLifecycleState c : TargetDatabaseLifecycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TargetDatabaseLifecycleState 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 TargetDatabaseLifecycleState create(String key)
-
-