Enum OccmDemandSignal.LifecycleDetails
- java.lang.Object
-
- java.lang.Enum<OccmDemandSignal.LifecycleDetails>
-
- com.oracle.bmc.capacitymanagement.model.OccmDemandSignal.LifecycleDetails
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<OccmDemandSignal.LifecycleDetails>
- Enclosing class:
- OccmDemandSignal
public static enum OccmDemandSignal.LifecycleDetails extends Enum<OccmDemandSignal.LifecycleDetails> implements BmcEnum
The different states associated with a demand signal.CREATED -> A demand signal is by default created in this state. SUBMITTED -> Once you have reviewed the details of the demand signal, you can transition it to SUBMITTED state so that OCI can start working on it. DELETED -> You can delete a demand signal as long as it is in either CREATED or SUBMITTED state. IN_PROGRESS -> Once OCI starts working on a given demand signal. They transition it to IN_PROGRESS. CANCELLED -> OCI can transition the demand signal to this state. COMPLETED -> OCI will transition the demand signal to COMPLETED state once the quantities which OCI committed to deliver to you has been delivered.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Completed
Created
Deleted
InProgress
Rejected
Submitted
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 OccmDemandSignal.LifecycleDetails
create(String key)
String
getValue()
static OccmDemandSignal.LifecycleDetails
valueOf(String name)
Returns the enum constant of this type with the specified name.static OccmDemandSignal.LifecycleDetails[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Created
public static final OccmDemandSignal.LifecycleDetails Created
-
Submitted
public static final OccmDemandSignal.LifecycleDetails Submitted
-
Deleted
public static final OccmDemandSignal.LifecycleDetails Deleted
-
InProgress
public static final OccmDemandSignal.LifecycleDetails InProgress
-
Rejected
public static final OccmDemandSignal.LifecycleDetails Rejected
-
Completed
public static final OccmDemandSignal.LifecycleDetails Completed
-
UnknownEnumValue
public static final OccmDemandSignal.LifecycleDetails 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 OccmDemandSignal.LifecycleDetails[] 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 (OccmDemandSignal.LifecycleDetails c : OccmDemandSignal.LifecycleDetails.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OccmDemandSignal.LifecycleDetails 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 OccmDemandSignal.LifecycleDetails create(String key)
-
-