public class ZoneResource extends AbstractModel
Constructor and Description |
---|
ZoneResource() |
ZoneResource(ZoneResource source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getIPVersion()
Get IP版本,如IPv4,IPv6,IPv6_Nat。
|
Boolean |
getLocalZone()
Get 可用区是否是LocalZone可用区,如:false
|
String |
getMasterZone()
Get 主可用区,如"ap-guangzhou-1"。
|
Resource[] |
getResourceSet()
Get 资源列表。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSlaveZone()
Get 备可用区,如"ap-guangzhou-2",单可用区时,备可用区为null。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getZoneRegion()
Get 可用区所属地域,如:ap-guangzhou
|
void |
setIPVersion(String IPVersion)
Set IP版本,如IPv4,IPv6,IPv6_Nat。
|
void |
setLocalZone(Boolean LocalZone)
Set 可用区是否是LocalZone可用区,如:false
|
void |
setMasterZone(String MasterZone)
Set 主可用区,如"ap-guangzhou-1"。
|
void |
setResourceSet(Resource[] ResourceSet)
Set 资源列表。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSlaveZone(String SlaveZone)
Set 备可用区,如"ap-guangzhou-2",单可用区时,备可用区为null。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setZoneRegion(String ZoneRegion)
Set 可用区所属地域,如:ap-guangzhou
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ZoneResource()
public ZoneResource(ZoneResource source)
public String getMasterZone()
public void setMasterZone(String MasterZone)
MasterZone
- 主可用区,如"ap-guangzhou-1"。public Resource[] getResourceSet()
public void setResourceSet(Resource[] ResourceSet)
ResourceSet
- 资源列表。
注意:此字段可能返回 null,表示取不到有效值。public String getSlaveZone()
public void setSlaveZone(String SlaveZone)
SlaveZone
- 备可用区,如"ap-guangzhou-2",单可用区时,备可用区为null。
注意:此字段可能返回 null,表示取不到有效值。public String getIPVersion()
public void setIPVersion(String IPVersion)
IPVersion
- IP版本,如IPv4,IPv6,IPv6_Nat。public String getZoneRegion()
public void setZoneRegion(String ZoneRegion)
ZoneRegion
- 可用区所属地域,如:ap-guangzhoupublic Boolean getLocalZone()
public void setLocalZone(Boolean LocalZone)
LocalZone
- 可用区是否是LocalZone可用区,如:falseCopyright © 2022. All rights reserved.