ExtendedLocation Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ExtendedLocation

Implements

public final class ExtendedLocation
implements JsonSerializable<ExtendedLocation>

Extended Location.

Constructor Summary

Constructor Description
ExtendedLocation()

Creates an instance of ExtendedLocation class.

Method Summary

Modifier and Type Method and Description
static ExtendedLocation fromJson(JsonReader jsonReader)

Reads an instance of ExtendedLocation from the JsonReader.

String name()

Get the name property: Name of extended location.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of extended location.

void validate()

Validates the instance.

ExtendedLocation withName(String name)

Set the name property: Name of extended location.

Methods inherited from java.lang.Object

Constructor Details

ExtendedLocation

public ExtendedLocation()

Creates an instance of ExtendedLocation class.

Method Details

fromJson

public static ExtendedLocation fromJson(JsonReader jsonReader)

Reads an instance of ExtendedLocation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExtendedLocation 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 ExtendedLocation.

name

public String name()

Get the name property: Name of extended location.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of extended location.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withName

public ExtendedLocation withName(String name)

Set the name property: Name of extended location.

Parameters:

name - the name value to set.

Returns:

the ExtendedLocation object itself.

Applies to