Class LocationMetadata


  • public final class LocationMetadata
    extends Object
    Location metadata information.
    • Constructor Detail

      • LocationMetadata

        public LocationMetadata()
    • Method Detail

      • regionType

        public RegionType regionType()
        Get the regionType property: The type of the region.
        Returns:
        the regionType value.
      • regionCategory

        public RegionCategory regionCategory()
        Get the regionCategory property: The category of the region.
        Returns:
        the regionCategory value.
      • geographyGroup

        public String geographyGroup()
        Get the geographyGroup property: The geography group of the location.
        Returns:
        the geographyGroup value.
      • longitude

        public String longitude()
        Get the longitude property: The longitude of the location.
        Returns:
        the longitude value.
      • latitude

        public String latitude()
        Get the latitude property: The latitude of the location.
        Returns:
        the latitude value.
      • physicalLocation

        public String physicalLocation()
        Get the physicalLocation property: The physical location of the Azure location.
        Returns:
        the physicalLocation value.
      • pairedRegion

        public List<PairedRegion> pairedRegion()
        Get the pairedRegion property: The regions paired to this region.
        Returns:
        the pairedRegion value.
      • withPairedRegion

        public LocationMetadata withPairedRegion​(List<PairedRegion> pairedRegion)
        Set the pairedRegion property: The regions paired to this region.
        Parameters:
        pairedRegion - the pairedRegion value to set.
        Returns:
        the LocationMetadata object itself.
      • homeLocation

        public String homeLocation()
        Get the homeLocation property: The home location of an edge zone.
        Returns:
        the homeLocation value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.