Package com.oracle.bmc.apigateway.model
Enum Sdk.LifecycleState
- java.lang.Object
-
- java.lang.Enum<Sdk.LifecycleState>
-
- com.oracle.bmc.apigateway.model.Sdk.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Sdk.LifecycleState>
- Enclosing class:
- Sdk
public static enum Sdk.LifecycleState extends Enum<Sdk.LifecycleState> implements BmcEnum
The current state of the SDK.- The SDK will be in CREATING state if the SDK creation is in progress. - The SDK will be in ACTIVE state if create is successful. - The SDK will be in FAILED state if the create, or delete fails. - The SDK will be in DELETING state if the deletion in in progress. - The SDK will be in DELETED state if the delete is successful.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Sdk.LifecycleState
create(String key)
String
getValue()
static Sdk.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static Sdk.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 Sdk.LifecycleState Creating
-
Active
public static final Sdk.LifecycleState Active
-
Failed
public static final Sdk.LifecycleState Failed
-
Deleting
public static final Sdk.LifecycleState Deleting
-
Deleted
public static final Sdk.LifecycleState Deleted
-
UnknownEnumValue
public static final Sdk.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 Sdk.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 (Sdk.LifecycleState c : Sdk.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 Sdk.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 Sdk.LifecycleState create(String key)
-
-