ProviderExtendedLocation Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.ProviderExtendedLocation

Implements

public final class ProviderExtendedLocation
implements JsonSerializable<ProviderExtendedLocation>

The provider extended location.

Constructor Summary

Constructor Description
ProviderExtendedLocation()

Creates an instance of ProviderExtendedLocation class.

Method Summary

Modifier and Type Method and Description
List<String> extendedLocations()

Get the extendedLocations property: The extended locations for the azure location.

static ProviderExtendedLocation fromJson(JsonReader jsonReader)

Reads an instance of ProviderExtendedLocation from the JsonReader.

String location()

Get the location property: The azure location.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The extended location type.

void validate()

Validates the instance.

ProviderExtendedLocation withExtendedLocations(List<String> extendedLocations)

Set the extendedLocations property: The extended locations for the azure location.

ProviderExtendedLocation withLocation(String location)

Set the location property: The azure location.

ProviderExtendedLocation 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 extendedLocations()

Get the extendedLocations property: The extended locations for the azure location.

Returns:

the extendedLocations value.

fromJson

public static ProviderExtendedLocation fromJson(JsonReader jsonReader)

Reads an instance of ProviderExtendedLocation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProviderExtendedLocation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ProviderExtendedLocation.

location

public String location()

Get the location property: The azure location.

Returns:

the location value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The extended location type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withExtendedLocations

public ProviderExtendedLocation withExtendedLocations(List extendedLocations)

Set the extendedLocations property: The extended locations for the azure location.

Parameters:

extendedLocations - the extendedLocations value to set.

Returns:

the ProviderExtendedLocation object itself.

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.

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.

Applies to