LocationMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. LocationMetadata
- com.
Implements
public final class LocationMetadata
implements JsonSerializable<LocationMetadata>
Location metadata information.
Constructor Summary
Constructor | Description |
---|---|
LocationMetadata() |
Creates an instance of Location |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Location |
fromJson(JsonReader jsonReader)
Reads an instance of Location |
String |
geography()
Get the geography property: The geography of the location. |
String |
geographyGroup()
Get the geography |
String |
homeLocation()
Get the home |
String |
latitude()
Get the latitude property: The latitude of the location. |
String |
longitude()
Get the longitude property: The longitude of the location. |
List<Paired |
pairedRegion()
Get the paired |
String |
physicalLocation()
Get the physical |
Region |
regionCategory()
Get the region |
Region |
regionType()
Get the region |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Location |
withPairedRegion(List<PairedRegion> pairedRegion)
Set the paired |
Methods inherited from java.lang.Object
Constructor Details
LocationMetadata
public LocationMetadata()
Creates an instance of LocationMetadata class.
Method Details
fromJson
public static LocationMetadata fromJson(JsonReader jsonReader)
Reads an instance of LocationMetadata from the JsonReader.
Parameters:
Returns:
Throws:
geography
public String geography()
Get the geography property: The geography of the location.
Returns:
geographyGroup
public String geographyGroup()
Get the geographyGroup property: The geography group of the location.
Returns:
homeLocation
public String homeLocation()
Get the homeLocation property: The home location of an edge zone.
Returns:
latitude
public String latitude()
Get the latitude property: The latitude of the location.
Returns:
longitude
public String longitude()
Get the longitude property: The longitude of the location.
Returns:
pairedRegion
public List
Get the pairedRegion property: The regions paired to this region.
Returns:
physicalLocation
public String physicalLocation()
Get the physicalLocation property: The physical location of the Azure location.
Returns:
regionCategory
public RegionCategory regionCategory()
Get the regionCategory property: The category of the region.
Returns:
regionType
public RegionType regionType()
Get the regionType property: The type of the region.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPairedRegion
public LocationMetadata withPairedRegion(List
Set the pairedRegion property: The regions paired to this region.
Parameters:
Returns:
Applies to
Azure SDK for Java