Class ProviderExtendedLocation
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.ProviderExtendedLocation
-
public final class ProviderExtendedLocation extends Object
The provider extended location.
-
-
Constructor Summary
Constructors Constructor Description ProviderExtendedLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>extendedLocations()Get the extendedLocations property: The extended locations for the azure location.Stringlocation()Get the location property: The azure location.Stringtype()Get the type property: The extended location type.voidvalidate()Validates the instance.ProviderExtendedLocationwithExtendedLocations(List<String> extendedLocations)Set the extendedLocations property: The extended locations for the azure location.ProviderExtendedLocationwithLocation(String location)Set the location property: The azure location.ProviderExtendedLocationwithType(String type)Set the type property: The extended location type.
-
-
-
Method Detail
-
location
public String location()
Get the location property: The azure location.- Returns:
- the location value.
-
withLocation
public ProviderExtendedLocation withLocation(String location)
Set the location property: The azure location.- Parameters:
location- the location value to set.- Returns:
- the ProviderExtendedLocation object itself.
-
type
public String type()
Get the type property: The extended location type.- Returns:
- the type value.
-
withType
public ProviderExtendedLocation withType(String type)
Set the type property: The extended location type.- Parameters:
type- the type value to set.- Returns:
- the ProviderExtendedLocation object itself.
-
extendedLocations
public List<String> extendedLocations()
Get the extendedLocations property: The extended locations for the azure location.- Returns:
- the extendedLocations value.
-
withExtendedLocations
public ProviderExtendedLocation withExtendedLocations(List<String> extendedLocations)
Set the extendedLocations property: The extended locations for the azure location.- Parameters:
extendedLocations- the extendedLocations value to set.- Returns:
- the ProviderExtendedLocation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-