Enum Class ResourceKind
- All Implemented Interfaces:
Serializable, Comparable<ResourceKind>, Constable
The kinds of element a deployment plan holds, in the order they are created.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA Cloud Router to Cloud Router connection between two plan metros.A Fabric Cloud Router (POST /fabric/v4/routers).A Fabric Interconnect: planned, never executable through the public API.A native provider-to-provider link: planned and priced, created by the customer outside Fabric.A Cloud Router to service-provider connection (POST /fabric/v4/connections).A DIRECT or BGP routing protocol on a planned connection.Read-side fallback for a value this release does not know. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the element is a Fabric connection (provider connection or backbone link).booleanWhether the SDK creates elements of this kind through the Fabric API.static ResourceKindReturns the enum constant of this class with the specified name.static ResourceKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLOUD_ROUTER
A Fabric Cloud Router (POST /fabric/v4/routers). -
PROVIDER_CONNECTION
A Cloud Router to service-provider connection (POST /fabric/v4/connections). -
BACKBONE_LINK
A Cloud Router to Cloud Router connection between two plan metros. -
ROUTING_PROTOCOL
A DIRECT or BGP routing protocol on a planned connection. -
INTERCONNECT
A Fabric Interconnect: planned, never executable through the public API. -
MULTICLOUD_LINK
A native provider-to-provider link: planned and priced, created by the customer outside Fabric. -
UNKNOWN
Read-side fallback for a value this release does not know.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isExecutable
public boolean isExecutable()Whether the SDK creates elements of this kind through the Fabric API.- Returns:
truefor routers, connections, backbone links and routing protocols
-
isConnection
public boolean isConnection()Whether the element is a Fabric connection (provider connection or backbone link).- Returns:
trueforPROVIDER_CONNECTIONandBACKBONE_LINK
-