Enum Class CertificateState

java.lang.Object
java.lang.Enum<CertificateState>
com.myjeeva.digitalocean.common.CertificateState
All Implemented Interfaces:
Serializable, Comparable<CertificateState>, Constable

public enum CertificateState extends Enum<CertificateState>
Enumeration of DigitalOcean Certificate states.
Since:
v2.17
Author:
Jeevanandam M. (jeeva@myjeeva.com)
  • Enum Constant Details

    • PENDING

      @SerializedName("pending") public static final CertificateState PENDING
    • VERIFIED

      @SerializedName("verified") public static final CertificateState VERIFIED
    • ERROR

      @SerializedName("error") public static final CertificateState ERROR
  • Method Details

    • values

      public static CertificateState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CertificateState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CertificateState>
    • fromValue

      public static CertificateState fromValue(String value)