ExtendedLocation Class
- java.
lang. Object - com.
azure. resourcemanager. compute. 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. |
void |
validate()
Validates the instance. |
Extended |
withName(String name)
Set the name property: The name of the extended location. |
Extended |
withType(ExtendedLocationTypes 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 ExtendedLocationTypes type()
Get the type property: The type of the extended location.
Returns:
validate
public void validate()
Validates the instance.
withName
public ExtendedLocation withName(String name)
Set the name property: The name of the extended location.
Parameters:
Returns:
withType
public ExtendedLocation withType(ExtendedLocationTypes type)
Set the type property: The type of the extended location.
Parameters:
Returns: