LocationInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. LocationInner
- com.
Implements
public final class LocationInner
implements JsonSerializable<LocationInner>
Location information.
Constructor Summary
Constructor | Description |
---|---|
LocationInner() |
Creates an instance of Location |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Availability |
availabilityZoneMappings()
Get the availability |
String |
displayName()
Get the display |
static
Location |
fromJson(JsonReader jsonReader)
Reads an instance of Location |
String |
id()
Get the id property: The fully qualified ID of the location. |
Location |
metadata()
Get the metadata property: Metadata of the location, such as lat/long, paired region, and others. |
String |
name()
Get the name property: The location name. |
String |
regionalDisplayName()
Get the regional |
String |
subscriptionId()
Get the subscription |
Json |
toJson(JsonWriter jsonWriter) |
Location |
type()
Get the type property: The location type. |
void |
validate()
Validates the instance. |
Location |
withAvailabilityZoneMappings(List<AvailabilityZoneMappings> availabilityZoneMappings)
Set the availability |
Location |
withMetadata(LocationMetadata metadata)
Set the metadata property: Metadata of the location, such as lat/long, paired region, and others. |
Methods inherited from java.lang.Object
Constructor Details
LocationInner
public LocationInner()
Creates an instance of LocationInner class.
Method Details
availabilityZoneMappings
public List
Get the availabilityZoneMappings property: The availability zone mappings for this region.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the location.
Returns:
fromJson
public static LocationInner fromJson(JsonReader jsonReader)
Reads an instance of LocationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The fully qualified ID of the location. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/locations/westus.
Returns:
metadata
public LocationMetadata metadata()
Get the metadata property: Metadata of the location, such as lat/long, paired region, and others.
Returns:
name
public String name()
Get the name property: The location name.
Returns:
regionalDisplayName
public String regionalDisplayName()
Get the regionalDisplayName property: The display name of the location and its region.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription ID.
Returns:
toJson
type
public LocationType type()
Get the type property: The location type.
Returns:
validate
public void validate()
Validates the instance.
withAvailabilityZoneMappings
public LocationInner withAvailabilityZoneMappings(List
Set the availabilityZoneMappings property: The availability zone mappings for this region.
Parameters:
Returns:
withMetadata
public LocationInner withMetadata(LocationMetadata metadata)
Set the metadata property: Metadata of the location, such as lat/long, paired region, and others.
Parameters:
Returns:
Applies to
Azure SDK for Java