ExtendedLocation 类
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ExtendedLocation
- com.
public final class ExtendedLocation
扩展位置的复杂类型。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| ExtendedLocation() |
创建扩展 |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
| String |
name()
获取 name 属性:扩展位置的名称。 |
|
Extended |
type()
获取 type 属性:扩展位置的类型。 |
| void |
validate()
验证实例。 |
|
Extended |
withName(String name)
设置 name 属性:扩展位置的名称。 |
|
Extended |
withType(ExtendedLocationTypes type)
设置 type 属性:扩展位置的类型。 |
方法继承自 java.lang.Object
构造函数详细信息
ExtendedLocation
public ExtendedLocation()
创建 ExtendedLocation 类的实例。
方法详细信息
name
public String name()
获取 name 属性:扩展位置的名称。
Returns:
type
public ExtendedLocationTypes type()
获取 type 属性:扩展位置的类型。
Returns:
validate
public void validate()
验证实例。
withName
public ExtendedLocation withName(String name)
设置 name 属性:扩展位置的名称。
Parameters:
Returns:
withType
public ExtendedLocation withType(ExtendedLocationTypes type)
设置 type 属性:扩展位置的类型。
Parameters:
Returns: