ExtendedLocation Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. ExtendedLocation
- com.
Implements
public final class ExtendedLocation
implements JsonSerializable<ExtendedLocation>
The complex type of the extended location.
Constructor Summary
| Constructor | Description |
|---|---|
| ExtendedLocation() |
Creates an instance of Extended |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Extended |
fromJson(JsonReader jsonReader)
Reads an instance of Extended |
| String |
name()
Get the name property: The name of the extended location. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Extended |
type()
Get the type property: The type of the extended location. |
|
Extended |
withName(String name)
Set the name property: The name of the extended location. |
|
Extended |
withType(ExtendedLocationType type)
Set the type property: The type of the 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:
Returns:
Throws:
name
public String name()
Get the name property: The name of the extended location.
Returns:
toJson
type
public ExtendedLocationType type()
Get the type property: The type of the extended location.
Returns:
withName
public ExtendedLocation withName(String name)
Set the name property: The name of the extended location.
Parameters:
Returns:
withType
public ExtendedLocation withType(ExtendedLocationType type)
Set the type property: The type of the extended location.
Parameters:
Returns: