public final class LocationInner extends Object
| Constructor and Description |
|---|
LocationInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
displayName()
Get the displayName property: The display name of the location.
|
String |
id()
Get the id property: The fully qualified ID of the location.
|
LocationMetadata |
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 regionalDisplayName property: The display name of the location and its region.
|
String |
subscriptionId()
Get the subscriptionId property: The subscription ID.
|
void |
validate()
Validates the instance.
|
LocationInner |
withMetadata(LocationMetadata metadata)
Set the metadata property: Metadata of the location, such as lat/long, paired region, and others.
|
public String id()
public String subscriptionId()
public String name()
public String displayName()
public String regionalDisplayName()
public LocationMetadata metadata()
public LocationInner withMetadata(LocationMetadata metadata)
metadata - the metadata value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.