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 |
---|---|
Boolean |
getEdgeZone()
Get Whether the AZ is an edge zone.
|
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`.
|
String |
getZoneResourceType()
Get Type of resources in the zone.
|
void |
setEdgeZone(Boolean EdgeZone)
Set Whether the AZ is an edge zone.
|
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 |
setZoneResourceType(String ZoneResourceType)
Set Type of resources in the zone.
|
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
- 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`.public String getZoneResourceType()
public void setZoneResourceType(String ZoneResourceType)
ZoneResourceType
- Type of resources in the zone. Values: `SHARED`, `EXCLUSIVE`public Boolean getEdgeZone()
public void setEdgeZone(Boolean EdgeZone)
EdgeZone
- Whether the AZ is an edge zone. Values: `true`, `false`.Copyright © 2023. All rights reserved.