ExtendedLocation Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ExtendedLocation
- com.
Implements
public final class ExtendedLocation
implements JsonSerializable<ExtendedLocation>
Resource 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 extended location name. |
Json |
toJson(JsonWriter jsonWriter) |
Extended |
type()
Get the type property: The extended location type. |
void |
validate()
Validates the instance. |
Extended |
withName(String name)
Set the name property: The extended location name. |
Extended |
withType(ExtendedLocationType type)
Set the type property: The extended location type. |
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 extended location name.
Returns:
toJson
type
public ExtendedLocationType type()
Get the type property: The extended location type.
Returns:
validate
public void validate()
Validates the instance.
withName
public ExtendedLocation withName(String name)
Set the name property: The extended location name.
Parameters:
Returns:
withType
public ExtendedLocation withType(ExtendedLocationType type)
Set the type property: The extended location type.
Parameters:
Returns:
Applies to
Azure SDK for Java