Enum VersionStage
- java.lang.Object
-
- java.lang.Enum<VersionStage>
-
- com.oracle.bmc.certificates.model.VersionStage
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<VersionStage>
@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public enum VersionStage extends Enum<VersionStage> implements BmcEnum
A list of possible rotation states for the certificate version.A certificate version marked CURRENT is currently in use. A certificate version marked PENDING is staged and available for use, but has not been applied on the target system and, therefore, has not been rotated into current, active use. The certificate most recently uploaded to the service is always marked LATEST. (The first version of a certificate is always marked as both CURRENT and LATEST.) A certificate version marked PREVIOUS is the certificate version that was most recently marked CURRENT, before the last certificate version rotation. A certificate version marked DEPRECATED is neither current, pending, nor the previous one in use. Only certificate versions marked DEPRECATED can be scheduled for deletion.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Current
Deprecated
Failed
Latest
Pending
Previous
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 VersionStage
create(String key)
String
getValue()
static VersionStage
valueOf(String name)
Returns the enum constant of this type with the specified name.static VersionStage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Current
public static final VersionStage Current
-
Pending
public static final VersionStage Pending
-
Latest
public static final VersionStage Latest
-
Previous
public static final VersionStage Previous
-
Deprecated
public static final VersionStage Deprecated
-
Failed
public static final VersionStage Failed
-
UnknownEnumValue
public static final VersionStage 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 VersionStage[] 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 (VersionStage c : VersionStage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VersionStage 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 VersionStage create(String key)
-
-