Package com.oracle.bmc.cloudguard.model
Enum ComplianceDocument.LifecycleState
- java.lang.Object
-
- java.lang.Enum<ComplianceDocument.LifecycleState>
-
- com.oracle.bmc.cloudguard.model.ComplianceDocument.LifecycleState
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<ComplianceDocument.LifecycleState>
- Enclosing class:
- ComplianceDocument
public static enum ComplianceDocument.LifecycleState extends Enum<ComplianceDocument.LifecycleState> implements BmcEnum
The current lifecycle state of the compliance document.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComplianceDocument.LifecycleStatecreate(String key)StringgetValue()static ComplianceDocument.LifecycleStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ComplianceDocument.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 ComplianceDocument.LifecycleState Active
-
Inactive
public static final ComplianceDocument.LifecycleState Inactive
-
-
Method Detail
-
values
public static ComplianceDocument.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 (ComplianceDocument.LifecycleState c : ComplianceDocument.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 ComplianceDocument.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 ComplianceDocument.LifecycleState create(String key)
-
-