Class LocationInner
- java.lang.Object
-
- com.azure.resourcemanager.resources.fluent.models.LocationInner
-
public final class LocationInner extends Object
Location information.
-
-
Constructor Summary
Constructors Constructor Description LocationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdisplayName()Get the displayName property: The display name of the location.Stringid()Get the id property: The fully qualified ID of the location.LocationMetadatametadata()Get the metadata property: Metadata of the location, such as lat/long, paired region, and others.Stringname()Get the name property: The location name.StringregionalDisplayName()Get the regionalDisplayName property: The display name of the location and its region.StringsubscriptionId()Get the subscriptionId property: The subscription ID.LocationTypetype()Get the type property: The location type.voidvalidate()Validates the instance.LocationInnerwithMetadata(LocationMetadata metadata)Set the metadata property: Metadata of the location, such as lat/long, paired region, and others.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus.- Returns:
- the id value.
-
subscriptionId
public String subscriptionId()
Get the subscriptionId property: The subscription ID.- Returns:
- the subscriptionId value.
-
name
public String name()
Get the name property: The location name.- Returns:
- the name value.
-
type
public LocationType type()
Get the type property: The location type.- Returns:
- the type value.
-
displayName
public String displayName()
Get the displayName property: The display name of the location.- Returns:
- the displayName value.
-
regionalDisplayName
public String regionalDisplayName()
Get the regionalDisplayName property: The display name of the location and its region.- Returns:
- the regionalDisplayName value.
-
metadata
public LocationMetadata metadata()
Get the metadata property: Metadata of the location, such as lat/long, paired region, and others.- Returns:
- the metadata value.
-
withMetadata
public LocationInner withMetadata(LocationMetadata metadata)
Set the metadata property: Metadata of the location, such as lat/long, paired region, and others.- Parameters:
metadata- the metadata value to set.- Returns:
- the LocationInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-