Class ConnectionsImpl
java.lang.Object
api.equinix.javasdk.fabric.client.implementation.ConnectionsImpl
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionsImpl(ConnectionClient<Connection> serviceClient, Fabric serviceManager) -
Method Summary
Modifier and TypeMethodDescriptiondefine(ConnectionType connectionType) Begins the fluent builder for creating a new connection.Retrieves a single connection by its unique identifier.getStatistics(String uuid, LocalDateTime startDateTime, LocalDateTime endDateTime) Retrieves bandwidth statistics for a connection over the specified time range.getStatistics(String uuid, LocalDateTime startDateTime, LocalDateTime endDateTime, Side viewPoint) Retrieves bandwidth statistics for a connection over the specified time range, viewed from a specific side.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.Begins a batch builder for creating multiple connections in a single request.
-
Constructor Details
-
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
-
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
-
startBatch
Description copied from interface:ConnectionsBegins a batch builder for creating multiple connections in a single request.- Specified by:
startBatchin interfaceConnections- Returns:
- a batch builder for configuring multiple connections
-
getStatistics
public ConnectionStatistic getStatistics(String uuid, LocalDateTime startDateTime, LocalDateTime endDateTime, Side viewPoint) Retrieves bandwidth statistics for a connection over the specified time range, viewed from a specific side.- Specified by:
getStatisticsin interfaceConnections- Parameters:
uuid- the unique identifier of the connectionstartDateTime- the start of the statistics time rangeendDateTime- the end of the statistics time rangeviewPoint- the side (A-side or Z-side) from which to view the statistics- Returns:
- the connection statistics for the specified time range and viewpoint
-
getStatistics
public ConnectionStatistic getStatistics(String uuid, LocalDateTime startDateTime, LocalDateTime endDateTime) Retrieves bandwidth statistics for a connection over the specified time range.- Specified by:
getStatisticsin interfaceConnections- Parameters:
uuid- the unique identifier of the connectionstartDateTime- the start of the statistics time rangeendDateTime- the end of the statistics time range- Returns:
- the connection statistics for the specified time range
-