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 version. | 
| Boolean | getLocalZone()Get Whether the AZ is a `LocalZone`. | 
| String | getMasterZone()Get Primary AZ, such as "ap-guangzhou-1". | 
| Resource[] | getResourceSet()Get List of resources
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getSlaveZone()Get Secondary AZ, such as "ap-guangzhou-2". | 
| String | getZoneRegion()Get Region of the AZ, such as `ap-guangzhou`. | 
| void | setIPVersion(String IPVersion)Set IP version. | 
| void | setLocalZone(Boolean LocalZone)Set Whether the AZ is a `LocalZone`. | 
| void | setMasterZone(String MasterZone)Set Primary AZ, such as "ap-guangzhou-1". | 
| void | setResourceSet(Resource[] ResourceSet)Set List of resources
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setSlaveZone(String SlaveZone)Set Secondary AZ, such as "ap-guangzhou-2". | 
| void | setZoneRegion(String ZoneRegion)Set Region of the AZ, such as `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, toJsonStringpublic ZoneResource()
public ZoneResource(ZoneResource source)
public String getMasterZone()
public void setMasterZone(String MasterZone)
MasterZone - Primary AZ, such as "ap-guangzhou-1".public Resource[] getResourceSet()
public void setResourceSet(Resource[] ResourceSet)
ResourceSet - List of resources
Note: This field may return null, indicating that no valid values can be obtained.public String getSlaveZone()
public void setSlaveZone(String SlaveZone)
SlaveZone - Secondary AZ, such as "ap-guangzhou-2". 
Note: This field may return null, indicating that no valid values can be obtained.public String getIPVersion()
public void setIPVersion(String IPVersion)
IPVersion - IP version. Values: `IPv4`, `IPv6`, and `IPv6_Nat`.public String getZoneRegion()
public void setZoneRegion(String ZoneRegion)
ZoneRegion - Region of the AZ, such as `ap-guangzhou`.public Boolean getLocalZone()
public void setLocalZone(Boolean LocalZone)
LocalZone - Whether the AZ is a `LocalZone`. Values: `true`, `false`.Copyright © 2022. All rights reserved.