Class LocationCode

java.lang.Object
com.eqixiac.equinix.fabric.model.implementation.LocationCode
Direct Known Subclasses:
Location, LocationSummary

public class LocationCode extends Object
A simplified location (the Fabric v4 SimplifiedLocation / SimplifiedLocationWithoutIBX schemas): metro code plus the metro's URI, name and region.
  • Constructor Details

    • LocationCode

      public LocationCode(MetroCode metroCode)
      Creates a location keyed by metro code (for METRO-scoped resources).
      Parameters:
      metroCode - the metro code
    • LocationCode

      public LocationCode(MetroCode metroCode, Region region)
      Creates a location keyed by metro code and/or region (REGIONAL-scope networks are located by region rather than metro code).
      Parameters:
      metroCode - the metro code, or null for region-scoped locations
      region - the region, or null for metro-scoped locations