Enum Class AdminState

java.lang.Object
java.lang.Enum<AdminState>
com.eqixiac.equinix.core.model.multicloud.AdminState
All Implemented Interfaces:
Serializable, Comparable<AdminState>, Constable

public enum AdminState extends Enum<AdminState>
Administrative state of a specification resource (common.yaml#/AdminState); carried by Connection.adminState and FeatureGuidance.channelAdminState, both output only. Constant names equal the wire values.

Beta: derived from the open specification at commit bbfc763 (see the package documentation). Fabric v4 has no counterpart: a Fabric virtual connection cannot be administratively disabled without deleting it.

UNKNOWN is a read-side fallback for values added after this SDK release; never send it.

Author:
ianjones
  • Enum Constant Details

    • ADMIN_STATE_ENABLED

      public static final AdminState ADMIN_STATE_ENABLED
      A provider has administratively enabled the resource.
    • ADMIN_STATE_DISABLED

      public static final AdminState ADMIN_STATE_DISABLED
      A provider has administratively disabled the resource.
    • UNKNOWN

      public static final AdminState UNKNOWN
      Read-side fallback for a value this enum does not list.
  • Method Details

    • values

      public static AdminState[] 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 AdminState 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
    • fromString

      public static AdminState fromString(String value)
      Parses a wire value. Surrounding whitespace is trimmed and case is ignored.
      Parameters:
      value - the wire value, for example ADMIN_STATE_ENABLED; may be null
      Returns:
      the matching constant, or UNKNOWN when value is null, blank or not listed