Record Class MetroFacts
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.spi.MetroFacts
- Record Components:
id- the metroname- display name, for exampleAshburnregion- AMER, EMEA or APAC; may benullcountry- country name as Fabric reports it; may benulllatitude- decimal degrees; may benulllongitude- decimal degrees; may benullgeoZones- Fabric geo scopes / geo zones the metro belongs to (for exampleEU); nevernull
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncountry()Returns the value of thecountryrecord component.final booleanIndicates whether some other object is "equal to" this one.geoZones()Returns the value of thegeoZonesrecord component.booleanfinal inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.latitude()Returns the value of thelatituderecord component.Returns the value of thelongituderecord component.name()Returns the value of thenamerecord component.region()Returns the value of theregionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MetroFacts
-
-
Method Details
-
hasCoordinates
public boolean hasCoordinates()- Returns:
truewhen both coordinates are present
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
-
name
-
region
-
country
-
latitude
-
longitude
-
geoZones
-