Enum 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 Detail

      • 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 name
        NullPointerException - if the argument is null