Package api.equinix.javasdk.fabric.model.implementation.cloud
package api.equinix.javasdk.fabric.model.implementation.cloud
Cloud provider SDK interoperability layer for Equinix Fabric connections.
This package provides the Adapter Pattern for bridging cloud provider SDK
objects (AWS Direct Connect, Azure ExpressRoute, Google Cloud Interconnect, Oracle FastConnect)
with the Equinix Fabric
ConnectionBuilder.
Architecture
The central interface CloudProviderConnectionAdapter
defines the contract for extracting connection parameters from any cloud provider SDK object.
Four built-in reference implementations are provided:
AwsDirectConnectAdapter— AWS Direct ConnectAzureExpressRouteAdapter— Azure ExpressRouteGoogleCloudInterconnectAdapter— Google Cloud InterconnectOracleFastConnectAdapter— Oracle FastConnect
Quick Start
// Option 1: Wrap a cloud provider SDK object
AwsDirectConnectAdapter<Connection> adapter = new AwsDirectConnectAdapter<>(
awsConnection, awsAccountId, "us-east-1", equinixProfileUuid);
// Option 2: Manual construction without a provider SDK
AwsDirectConnectAdapter<?> adapter = AwsDirectConnectAdapter.of(
"123456789012", "us-east-1", equinixProfileUuid);
// Use the adapter with the Fabric ConnectionBuilder
Connection conn = fabric.connections()
.define(ConnectionType.EVPL_VC)
.name("My-Cloud-Connection")
.bandwidth(100)
.aSideAccessPointPort(portUuid, LinkProtocol.dot1q().vlanTag(1000).create())
.zSideCloudProvider(adapter)
.notification("ops@example.com")
.create();
Custom Adapters
Implement CloudProviderConnectionAdapter
for any cloud provider or service not covered by the built-in adapters. The interface defines
required methods for service profile UUID, authentication key, and seller region, plus optional
defaults for connection type, link protocol, and peering type.
- See Also:
-
ClassDescriptionAdapter for bridging AWS Direct Connect SDK objects with Equinix Fabric connections.Adapter for bridging Microsoft Azure ExpressRoute SDK objects with Equinix Fabric connections.Adapter interface for bridging cloud provider SDK objects with Equinix Fabric connection creation.Enumeration of supported cloud providers for Equinix Fabric interconnection.Adapter for bridging Google Cloud Interconnect SDK objects with Equinix Fabric connections.Adapter for bridging Oracle Cloud Infrastructure FastConnect SDK objects with Equinix Fabric connections.