你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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: