Enum UpdateCertificateConfigDetails.Stage
- java.lang.Object
-
- java.lang.Enum<UpdateCertificateConfigDetails.Stage>
-
- com.oracle.bmc.certificatesmanagement.model.UpdateCertificateConfigDetails.Stage
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UpdateCertificateConfigDetails.Stage>
- Enclosing class:
- UpdateCertificateConfigDetails
public static enum UpdateCertificateConfigDetails.Stage extends Enum<UpdateCertificateConfigDetails.Stage> implements BmcEnum
The rotation state of the certificate.The default is CURRENT, meaning that the certificate is currently in use. A certificate version that you mark as PENDING is staged and available for use, but you don’t yet want to rotate it into current, active use. For example, you might update a certificate and mark its rotation state as PENDING if you haven’t yet updated the certificate on the target system.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateCertificateConfigDetails.Stage
create(String key)
String
getValue()
static UpdateCertificateConfigDetails.Stage
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateCertificateConfigDetails.Stage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Current
public static final UpdateCertificateConfigDetails.Stage Current
-
Pending
public static final UpdateCertificateConfigDetails.Stage Pending
-
-
Method Detail
-
values
public static UpdateCertificateConfigDetails.Stage[] 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 (UpdateCertificateConfigDetails.Stage c : UpdateCertificateConfigDetails.Stage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateCertificateConfigDetails.Stage 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 UpdateCertificateConfigDetails.Stage create(String key)
-
-