Class ConnectionsImpl
java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.ConnectionsImpl
- All Implemented Interfaces:
Connections
- Author:
- ianjones
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachRouteAggregation(String connectionId, String routeAggregationId) Attaches a Route Aggregation to a connection.attachRouteFilter(String connectionId, String routeFilterId, Direction direction) Attaches a Route Filter to a connection in the given direction.define(ConnectionType connectionType) Begins the fluent builder for creating a new connection.detachRouteAggregation(String connectionId, String routeAggregationId) Detaches a Route Aggregation from a connection.detachRouteFilter(String connectionId, String routeFilterId) Detaches a Route Filter from a connection.Retrieves a single connection by its unique identifier.getRouteAggregation(String connectionId, String routeAggregationId) Retrieves a single Route Aggregation attached to a connection.getRouteAggregations(String connectionId) Lists all Route Aggregations attached to a connection.getRouteFilter(String connectionId, String routeFilterId) Retrieves a single Route Filter attached to a connection.getRouteFilters(String connectionId) Lists all Route Filters attached to a connection.search()Searches for connections using default filter and sort criteria.search(FilterPropertyList filter) Searches for connections matching the specified filter criteria.search(FilterPropertyList filter, SortPropertyList sort) Searches for connections matching the specified filter and sort criteria.search(SortPropertyList sort) Searches for connections with the specified sort order.searchAdvertisedRoutes(String uuid) Searches the routes a connection's Cloud Router is advertising to the customer, with default filter and sort criteria.searchAdvertisedRoutes(String uuid, FilterPropertyList filter, SortPropertyList sort) Searches the routes a connection's Cloud Router is advertising to the customer.searchReceivedRoutes(String uuid) Searches the routes a connection's Cloud Router has received from the customer, with default filter and sort criteria.searchReceivedRoutes(String uuid, FilterPropertyList filter, SortPropertyList sort) Searches the routes a connection's Cloud Router has received from the customer.validate(FilterPropertyList filter) 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.
-
Constructor Details
-
ConnectionsImpl
public ConnectionsImpl()
-
-
Method Details
-
search
Description copied from interface:ConnectionsSearches for connections using default filter and sort criteria.- Specified by:
searchin interfaceConnections- Returns:
- a paginated, filtered list of matching connections
-
search
Description copied from interface:ConnectionsSearches for connections matching the specified filter criteria.- Specified by:
searchin interfaceConnections- Parameters:
filter- the filter criteria to apply- Returns:
- a paginated, filtered list of matching connections
-
search
Description copied from interface:ConnectionsSearches for connections with the specified sort order.- Specified by:
searchin interfaceConnections- Parameters:
sort- the sort criteria to apply- Returns:
- a paginated, filtered list of matching connections
-
search
Description copied from interface:ConnectionsSearches for connections matching the specified filter and sort criteria.- Specified by:
searchin interfaceConnections- Parameters:
filter- the filter criteria to applysort- the sort criteria to apply- Returns:
- a paginated, filtered list of matching connections
-
validate
Description copied from interface:ConnectionsValidates 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:
validatein interfaceConnections- Parameters:
filter- the validation filter criteria (auth key or VLAN)- Returns:
- the list of connection specifications matching the validation request
-
getByUuid
Description copied from interface:ConnectionsRetrieves a single connection by its unique identifier.- Specified by:
getByUuidin interfaceConnections- Parameters:
uuid- the unique identifier of the connection- Returns:
- the connection matching the given UUID
-
define
Description copied from interface:ConnectionsBegins the fluent builder for creating a new connection. Call methods on the returned builder to configure the connection, then callcreate().- Specified by:
definein interfaceConnections- Parameters:
connectionType- the type of connection to create- Returns:
- a builder for configuring the new connection
-
searchAdvertisedRoutes
Description copied from interface:ConnectionsSearches the routes a connection's Cloud Router is advertising to the customer, with default filter and sort criteria.- Specified by:
searchAdvertisedRoutesin interfaceConnections- 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:ConnectionsSearches the routes a connection's Cloud Router is advertising to the customer.- Specified by:
searchAdvertisedRoutesin interfaceConnections- Parameters:
uuid- the unique identifier of the connectionfilter- the filter criteria to apply (may benull)sort- the sort criteria to apply (may benull)- Returns:
- a paginated, filtered list of advertised route table entries
-
searchReceivedRoutes
Description copied from interface:ConnectionsSearches the routes a connection's Cloud Router has received from the customer, with default filter and sort criteria.- Specified by:
searchReceivedRoutesin interfaceConnections- 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:ConnectionsSearches the routes a connection's Cloud Router has received from the customer.- Specified by:
searchReceivedRoutesin interfaceConnections- Parameters:
uuid- the unique identifier of the connectionfilter- the filter criteria to apply (may benull)sort- the sort criteria to apply (may benull)- Returns:
- a paginated, filtered list of received route table entries
-
getRouteAggregations
Description copied from interface:ConnectionsLists all Route Aggregations attached to a connection.- Specified by:
getRouteAggregationsin interfaceConnections- 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:ConnectionsRetrieves a single Route Aggregation attached to a connection.- Specified by:
getRouteAggregationin interfaceConnections- Parameters:
connectionId- the unique identifier of the connectionrouteAggregationId- the unique identifier of the route aggregation- Returns:
- the route aggregation attachment
-
attachRouteAggregation
public RouteAggregationAttachment attachRouteAggregation(String connectionId, String routeAggregationId) Description copied from interface:ConnectionsAttaches a Route Aggregation to a connection.- Specified by:
attachRouteAggregationin interfaceConnections- Parameters:
connectionId- the unique identifier of the connectionrouteAggregationId- the unique identifier of the route aggregation to attach- Returns:
- the resulting route aggregation attachment
-
detachRouteAggregation
Description copied from interface:ConnectionsDetaches a Route Aggregation from a connection.- Specified by:
detachRouteAggregationin interfaceConnections- Parameters:
connectionId- the unique identifier of the connectionrouteAggregationId- the unique identifier of the route aggregation to detach- Returns:
trueif the detach request was accepted
-
getRouteFilters
Description copied from interface:ConnectionsLists all Route Filters attached to a connection.- Specified by:
getRouteFiltersin interfaceConnections- Parameters:
connectionId- the unique identifier of the connection- Returns:
- the list of route filter attachments
-
getRouteFilter
Description copied from interface:ConnectionsRetrieves a single Route Filter attached to a connection.- Specified by:
getRouteFilterin interfaceConnections- Parameters:
connectionId- the unique identifier of the connectionrouteFilterId- 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:ConnectionsAttaches a Route Filter to a connection in the given direction.- Specified by:
attachRouteFilterin interfaceConnections- Parameters:
connectionId- the unique identifier of the connectionrouteFilterId- the unique identifier of the route filter to attachdirection- the direction to apply the route filter (INBOUNDorOUTBOUND)- Returns:
- the resulting route filter attachment
-
detachRouteFilter
Description copied from interface:ConnectionsDetaches a Route Filter from a connection.- Specified by:
detachRouteFilterin interfaceConnections- Parameters:
connectionId- the unique identifier of the connectionrouteFilterId- the unique identifier of the route filter to detach- Returns:
trueif the detach request was accepted
-