Class LocationMetadata
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.LocationMetadata
-
public final class LocationMetadata extends Object
Location metadata information.
-
-
Constructor Summary
Constructors Constructor Description LocationMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgeographyGroup()Get the geographyGroup property: The geography group of the location.StringhomeLocation()Get the homeLocation property: The home location of an edge zone.Stringlatitude()Get the latitude property: The latitude of the location.Stringlongitude()Get the longitude property: The longitude of the location.List<PairedRegion>pairedRegion()Get the pairedRegion property: The regions paired to this region.StringphysicalLocation()Get the physicalLocation property: The physical location of the Azure location.RegionCategoryregionCategory()Get the regionCategory property: The category of the region.RegionTyperegionType()Get the regionType property: The type of the region.voidvalidate()Validates the instance.LocationMetadatawithPairedRegion(List<PairedRegion> pairedRegion)Set the pairedRegion property: The regions paired to this region.
-
-
-
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.
-
-