Class ConnectionsImpl

java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.ConnectionsImpl
All Implemented Interfaces:
Connections

public class ConnectionsImpl extends Object implements Connections
Author:
ianjones
  • Constructor Details

    • ConnectionsImpl

      public ConnectionsImpl()
  • Method Details

    • search

      Description copied from interface: Connections
      Searches for connections using default filter and sort criteria.
      Specified by:
      search in interface Connections
      Returns:
      a paginated, filtered list of matching connections
    • search

      Description copied from interface: Connections
      Searches for connections matching the specified filter criteria.
      Specified by:
      search in interface Connections
      Parameters:
      filter - the filter criteria to apply
      Returns:
      a paginated, filtered list of matching connections
    • search

      Description copied from interface: Connections
      Searches for connections with the specified sort order.
      Specified by:
      search in interface Connections
      Parameters:
      sort - the sort criteria to apply
      Returns:
      a paginated, filtered list of matching connections
    • search

      Description copied from interface: Connections
      Searches for connections matching the specified filter and sort criteria.
      Specified by:
      search in interface Connections
      Parameters:
      filter - the filter criteria to apply
      sort - the sort criteria to apply
      Returns:
      a paginated, filtered list of matching connections
    • validate

      Description copied from interface: Connections
      Validates one or more prospective connections against the supplied filter criteria, for example a cloud provider authorization key or VLAN availability, without creating the connection. Mirrors the SDK's existing Fabric search filter shape.
      Specified by:
      validate in interface Connections
      Parameters:
      filter - the validation filter criteria (auth key or VLAN)
      Returns:
      the list of connection specifications matching the validation request
    • getByUuid

      public Connection getByUuid(String uuid)
      Description copied from interface: Connections
      Retrieves a single connection by its unique identifier.
      Specified by:
      getByUuid in interface Connections
      Parameters:
      uuid - the unique identifier of the connection
      Returns:
      the connection matching the given UUID
    • define

      public ConnectionOperator.ConnectionBuilder define(ConnectionType connectionType)
      Description copied from interface: Connections
      Begins the fluent builder for creating a new connection. Call methods on the returned builder to configure the connection, then call create().
      Specified by:
      define in interface Connections
      Parameters:
      connectionType - the type of connection to create
      Returns:
      a builder for configuring the new connection
    • searchAdvertisedRoutes

      public PaginatedFilteredList<RouteTableEntry> searchAdvertisedRoutes(String uuid)
      Description copied from interface: Connections
      Searches the routes a connection's Cloud Router is advertising to the customer, with default filter and sort criteria.
      Specified by:
      searchAdvertisedRoutes in interface Connections
      Parameters:
      uuid - the unique identifier of the connection
      Returns:
      a paginated, filtered list of advertised route table entries
    • searchAdvertisedRoutes

      public PaginatedFilteredList<RouteTableEntry> searchAdvertisedRoutes(String uuid, FilterPropertyList filter, SortPropertyList sort)
      Description copied from interface: Connections
      Searches the routes a connection's Cloud Router is advertising to the customer.
      Specified by:
      searchAdvertisedRoutes in interface Connections
      Parameters:
      uuid - the unique identifier of the connection
      filter - the filter criteria to apply (may be null)
      sort - the sort criteria to apply (may be null)
      Returns:
      a paginated, filtered list of advertised route table entries
    • searchReceivedRoutes

      public PaginatedFilteredList<RouteTableEntry> searchReceivedRoutes(String uuid)
      Description copied from interface: Connections
      Searches the routes a connection's Cloud Router has received from the customer, with default filter and sort criteria.
      Specified by:
      searchReceivedRoutes in interface Connections
      Parameters:
      uuid - the unique identifier of the connection
      Returns:
      a paginated, filtered list of received route table entries
    • searchReceivedRoutes

      public PaginatedFilteredList<RouteTableEntry> searchReceivedRoutes(String uuid, FilterPropertyList filter, SortPropertyList sort)
      Description copied from interface: Connections
      Searches the routes a connection's Cloud Router has received from the customer.
      Specified by:
      searchReceivedRoutes in interface Connections
      Parameters:
      uuid - the unique identifier of the connection
      filter - the filter criteria to apply (may be null)
      sort - the sort criteria to apply (may be null)
      Returns:
      a paginated, filtered list of received route table entries
    • getRouteAggregations

      public List<RouteAggregationAttachment> getRouteAggregations(String connectionId)
      Description copied from interface: Connections
      Lists all Route Aggregations attached to a connection.
      Specified by:
      getRouteAggregations in interface Connections
      Parameters:
      connectionId - the unique identifier of the connection
      Returns:
      the list of route aggregation attachments
    • getRouteAggregation

      public RouteAggregationAttachment getRouteAggregation(String connectionId, String routeAggregationId)
      Description copied from interface: Connections
      Retrieves a single Route Aggregation attached to a connection.
      Specified by:
      getRouteAggregation in interface Connections
      Parameters:
      connectionId - the unique identifier of the connection
      routeAggregationId - the unique identifier of the route aggregation
      Returns:
      the route aggregation attachment
    • attachRouteAggregation

      public RouteAggregationAttachment attachRouteAggregation(String connectionId, String routeAggregationId)
      Description copied from interface: Connections
      Attaches a Route Aggregation to a connection.
      Specified by:
      attachRouteAggregation in interface Connections
      Parameters:
      connectionId - the unique identifier of the connection
      routeAggregationId - the unique identifier of the route aggregation to attach
      Returns:
      the resulting route aggregation attachment
    • detachRouteAggregation

      public Boolean detachRouteAggregation(String connectionId, String routeAggregationId)
      Description copied from interface: Connections
      Detaches a Route Aggregation from a connection.
      Specified by:
      detachRouteAggregation in interface Connections
      Parameters:
      connectionId - the unique identifier of the connection
      routeAggregationId - the unique identifier of the route aggregation to detach
      Returns:
      true if the detach request was accepted
    • getRouteFilters

      public List<RouteFilterAttachment> getRouteFilters(String connectionId)
      Description copied from interface: Connections
      Lists all Route Filters attached to a connection.
      Specified by:
      getRouteFilters in interface Connections
      Parameters:
      connectionId - the unique identifier of the connection
      Returns:
      the list of route filter attachments
    • getRouteFilter

      public RouteFilterAttachment getRouteFilter(String connectionId, String routeFilterId)
      Description copied from interface: Connections
      Retrieves a single Route Filter attached to a connection.
      Specified by:
      getRouteFilter in interface Connections
      Parameters:
      connectionId - the unique identifier of the connection
      routeFilterId - the unique identifier of the route filter
      Returns:
      the route filter attachment
    • attachRouteFilter

      public RouteFilterAttachment attachRouteFilter(String connectionId, String routeFilterId, Direction direction)
      Description copied from interface: Connections
      Attaches a Route Filter to a connection in the given direction.
      Specified by:
      attachRouteFilter in interface Connections
      Parameters:
      connectionId - the unique identifier of the connection
      routeFilterId - the unique identifier of the route filter to attach
      direction - the direction to apply the route filter (INBOUND or OUTBOUND)
      Returns:
      the resulting route filter attachment
    • detachRouteFilter

      public Boolean detachRouteFilter(String connectionId, String routeFilterId)
      Description copied from interface: Connections
      Detaches a Route Filter from a connection.
      Specified by:
      detachRouteFilter in interface Connections
      Parameters:
      connectionId - the unique identifier of the connection
      routeFilterId - the unique identifier of the route filter to detach
      Returns:
      true if the detach request was accepted