Class MetrosImpl
java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.MetrosImpl
- All Implemented Interfaces:
Metros
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetByMetroCode(MetroCode metroCode) Retrieves a single metro by its metro code.getByMetroCode(String metroCode) Retrieves a single metro by its raw metro code string.getByMetroId(MetroId metroId) Retrieves a single metro by itsMetroId.list()Lists all available Equinix metro locations.list(MetroPresence metroPresence) Lists metro locations filtered by the specified presence type.
-
Constructor Details
-
MetrosImpl
public MetrosImpl()
-
-
Method Details
-
list
Description copied from interface:MetrosLists all available Equinix metro locations. -
list
Description copied from interface:MetrosLists metro locations filtered by the specified presence type. -
getByMetroCode
Description copied from interface:MetrosRetrieves 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
-
getByMetroCode
Description copied from interface:MetrosRetrieves a single metro by its raw metro code string. Use this for a metro not listed by theMetroCodeenum (e.g. one added after this SDK was built).- Specified by:
getByMetroCodein interfaceMetros- Parameters:
metroCode- the code identifying the metro location (e.g.,"SV")- Returns:
- the metro matching the given code
-
getByMetroId
-