Enum DomainStatus

java.lang.Object
java.lang.Enum<DomainStatus>
africa.sendbyte.domains.DomainStatus
All Implemented Interfaces:
Serializable, Comparable<DomainStatus>, java.lang.constant.Constable

public enum DomainStatus extends Enum<DomainStatus>
Verification status of a sending domain.

Use fromWire(String) to parse defensively; unknown values map to UNKNOWN rather than throwing.

  • Enum Constant Details

    • PENDING

      public static final DomainStatus PENDING
      Registered but not yet passed a DNS check.
    • VERIFIED

      public static final DomainStatus VERIFIED
      All required records (SPF + DKIM) passed; ready for live sends.
    • DEGRADED

      public static final DomainStatus DEGRADED
      Was verified, but a later check found required records missing or invalid.
    • UNKNOWN

      public static final DomainStatus UNKNOWN
  • Method Details

    • values

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

      public static DomainStatus 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
    • wire

      public String wire()
    • fromWire

      public static DomainStatus fromWire(String value)