Class MetrosImpl
java.lang.Object
api.equinix.javasdk.fabric.client.implementation.MetrosImpl
-
Constructor Summary
ConstructorsConstructorDescriptionMetrosImpl(MetroClient<Metro> serviceClient, Fabric serviceManager) Constructor for MetrosImpl. -
Method Summary
Modifier and TypeMethodDescriptiongetByMetroCode(MetroCode metroCode) Retrieves a single metro by its metro code.list()list.list(MetroPresence metroPresence) Lists metro locations filtered by the specified presence type.
-
Constructor Details
-
MetrosImpl
Constructor for MetrosImpl.
- Parameters:
serviceClient- aMetroClientobject.serviceManager- aFabricobject.
-
-
Method Details
-
list
list.
- Specified by:
listin interfaceMetros- Returns:
- a
PaginatedListobject.
-
list
Lists metro locations filtered by the specified presence type. -
getByMetroCode
Retrieves a single metro by its metro code.- Specified by:
getByMetroCodein interfaceMetros- Parameters:
metroCode- the code identifying the metro location (e.g., SV, DC, AM)- Returns:
- the metro matching the given code
-