ProviderExtendedLocation Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ProviderExtendedLocation
- com.
Implements
public final class ProviderExtendedLocation
implements JsonSerializable<ProviderExtendedLocation>
The provider extended location.
Constructor Summary
Constructor | Description |
---|---|
ProviderExtendedLocation() |
Creates an instance of Provider |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
extendedLocations()
Get the extended |
static
Provider |
fromJson(JsonReader jsonReader)
Reads an instance of Provider |
String |
location()
Get the location property: The azure location. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The extended location type. |
void |
validate()
Validates the instance. |
Provider |
withExtendedLocations(List<String> extendedLocations)
Set the extended |
Provider |
withLocation(String location)
Set the location property: The azure location. |
Provider |
withType(String type)
Set the type property: The extended location type. |
Methods inherited from java.lang.Object
Constructor Details
ProviderExtendedLocation
public ProviderExtendedLocation()
Creates an instance of ProviderExtendedLocation class.
Method Details
extendedLocations
public List
Get the extendedLocations property: The extended locations for the azure location.
Returns:
fromJson
public static ProviderExtendedLocation fromJson(JsonReader jsonReader)
Reads an instance of ProviderExtendedLocation from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The azure location.
Returns:
toJson
type
public String type()
Get the type property: The extended location type.
Returns:
validate
public void validate()
Validates the instance.
withExtendedLocations
public ProviderExtendedLocation withExtendedLocations(List
Set the extendedLocations property: The extended locations for the azure location.
Parameters:
Returns:
withLocation
public ProviderExtendedLocation withLocation(String location)
Set the location property: The azure location.
Parameters:
Returns:
withType
public ProviderExtendedLocation withType(String type)
Set the type property: The extended location type.
Parameters:
Returns:
Applies to
Azure SDK for Java