Package com.oracle.bmc.desktops.model
Enum DesktopPoolVolumeSummary.LifecycleState
- java.lang.Object
-
- java.lang.Enum<DesktopPoolVolumeSummary.LifecycleState>
-
- com.oracle.bmc.desktops.model.DesktopPoolVolumeSummary.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DesktopPoolVolumeSummary.LifecycleState>
- Enclosing class:
- DesktopPoolVolumeSummary
public static enum DesktopPoolVolumeSummary.LifecycleState extends Enum<DesktopPoolVolumeSummary.LifecycleState> implements BmcEnum
The state of the desktop pool volume.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Active
Inactive
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DesktopPoolVolumeSummary.LifecycleState
create(String key)
String
getValue()
static DesktopPoolVolumeSummary.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static DesktopPoolVolumeSummary.LifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Active
public static final DesktopPoolVolumeSummary.LifecycleState Active
-
Inactive
public static final DesktopPoolVolumeSummary.LifecycleState Inactive
-
UnknownEnumValue
public static final DesktopPoolVolumeSummary.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 DesktopPoolVolumeSummary.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 (DesktopPoolVolumeSummary.LifecycleState c : DesktopPoolVolumeSummary.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 DesktopPoolVolumeSummary.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 DesktopPoolVolumeSummary.LifecycleState create(String key)
-
-