Enum Class ResourceKind

java.lang.Object
java.lang.Enum<ResourceKind>
com.eqixiac.equinix.design.plan.ResourceKind
All Implemented Interfaces:
Serializable, Comparable<ResourceKind>, Constable

public enum ResourceKind extends Enum<ResourceKind>
The kinds of element a deployment plan holds, in the order they are created.
  • Enum Constant Details

    • CLOUD_ROUTER

      public static final ResourceKind CLOUD_ROUTER
      A Fabric Cloud Router (POST /fabric/v4/routers).
    • PROVIDER_CONNECTION

      public static final ResourceKind PROVIDER_CONNECTION
      A Cloud Router to service-provider connection (POST /fabric/v4/connections).
    • ROUTING_PROTOCOL

      public static final ResourceKind ROUTING_PROTOCOL
      A DIRECT or BGP routing protocol on a planned connection.
    • INTERCONNECT

      public static final ResourceKind INTERCONNECT
      A Fabric Interconnect: planned, never executable through the public API.
    • UNKNOWN

      public static final ResourceKind UNKNOWN
      Read-side fallback for a value this release does not know.
  • Method Details

    • values

      public static ResourceKind[] 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 ResourceKind 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
    • isExecutable

      public boolean isExecutable()
      Whether the SDK creates elements of this kind through the Fabric API.
      Returns:
      true for routers, connections, backbone links and routing protocols
    • isConnection

      public boolean isConnection()
      Whether the element is a Fabric connection (provider connection or backbone link).
      Returns:
      true for PROVIDER_CONNECTION and BACKBONE_LINK