Enum Key.LifecycleState
- java.lang.Object
-
- java.lang.Enum<Key.LifecycleState>
-
- com.oracle.bmc.keymanagement.model.Key.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Key.LifecycleState>
- Enclosing class:
- Key
public static enum Key.LifecycleState extends Enum<Key.LifecycleState> implements BmcEnum
The key’s current lifecycle state.Example: ENABLED
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BackupInProgress
CancellingDeletion
Creating
Deleted
Deleting
Disabled
Disabling
Enabled
Enabling
PendingDeletion
Restoring
SchedulingDeletion
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 Key.LifecycleState
create(String key)
String
getValue()
static Key.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static Key.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 Key.LifecycleState Creating
-
Enabling
public static final Key.LifecycleState Enabling
-
Enabled
public static final Key.LifecycleState Enabled
-
Disabling
public static final Key.LifecycleState Disabling
-
Disabled
public static final Key.LifecycleState Disabled
-
Deleting
public static final Key.LifecycleState Deleting
-
Deleted
public static final Key.LifecycleState Deleted
-
PendingDeletion
public static final Key.LifecycleState PendingDeletion
-
SchedulingDeletion
public static final Key.LifecycleState SchedulingDeletion
-
CancellingDeletion
public static final Key.LifecycleState CancellingDeletion
-
Updating
public static final Key.LifecycleState Updating
-
BackupInProgress
public static final Key.LifecycleState BackupInProgress
-
Restoring
public static final Key.LifecycleState Restoring
-
UnknownEnumValue
public static final Key.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 Key.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 (Key.LifecycleState c : Key.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 Key.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 Key.LifecycleState create(String key)
-
-