Enum UpdateInternalOccCapacityRequestDetails.RequestState
- java.lang.Object
-
- java.lang.Enum<UpdateInternalOccCapacityRequestDetails.RequestState>
-
- com.oracle.bmc.capacitymanagement.model.UpdateInternalOccCapacityRequestDetails.RequestState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UpdateInternalOccCapacityRequestDetails.RequestState>
- Enclosing class:
- UpdateInternalOccCapacityRequestDetails
public static enum UpdateInternalOccCapacityRequestDetails.RequestState extends Enum<UpdateInternalOccCapacityRequestDetails.RequestState> implements BmcEnum
The subset of request states available internally for updating the capacity request.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description InProgress
Rejected
Resolved
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateInternalOccCapacityRequestDetails.RequestState
create(String key)
String
getValue()
static UpdateInternalOccCapacityRequestDetails.RequestState
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateInternalOccCapacityRequestDetails.RequestState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Resolved
public static final UpdateInternalOccCapacityRequestDetails.RequestState Resolved
-
Rejected
public static final UpdateInternalOccCapacityRequestDetails.RequestState Rejected
-
InProgress
public static final UpdateInternalOccCapacityRequestDetails.RequestState InProgress
-
-
Method Detail
-
values
public static UpdateInternalOccCapacityRequestDetails.RequestState[] 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 (UpdateInternalOccCapacityRequestDetails.RequestState c : UpdateInternalOccCapacityRequestDetails.RequestState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateInternalOccCapacityRequestDetails.RequestState 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 UpdateInternalOccCapacityRequestDetails.RequestState create(String key)
-
-