public class ZoneConf extends AbstractModel
Constructor and Description |
---|
ZoneConf() |
ZoneConf(ZoneConf 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[] |
getBackupZone()
Get 实例为多可用区部署时,备库2所在的可用区
|
Long[] |
getDeployMode()
Get 可用区部署方式,可能的值为:0-单可用区;1-多可用区
|
String[] |
getMasterZone()
Get 主实例所在的可用区
|
String[] |
getSlaveZone()
Get 实例为多可用区部署时,备库1所在的可用区
|
void |
setBackupZone(String[] BackupZone)
Set 实例为多可用区部署时,备库2所在的可用区
|
void |
setDeployMode(Long[] DeployMode)
Set 可用区部署方式,可能的值为:0-单可用区;1-多可用区
|
void |
setMasterZone(String[] MasterZone)
Set 主实例所在的可用区
|
void |
setSlaveZone(String[] SlaveZone)
Set 实例为多可用区部署时,备库1所在的可用区
|
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 ZoneConf()
public ZoneConf(ZoneConf source)
public Long[] getDeployMode()
public void setDeployMode(Long[] DeployMode)
DeployMode
- 可用区部署方式,可能的值为:0-单可用区;1-多可用区public String[] getMasterZone()
public void setMasterZone(String[] MasterZone)
MasterZone
- 主实例所在的可用区public String[] getSlaveZone()
public void setSlaveZone(String[] SlaveZone)
SlaveZone
- 实例为多可用区部署时,备库1所在的可用区public String[] getBackupZone()
public void setBackupZone(String[] BackupZone)
BackupZone
- 实例为多可用区部署时,备库2所在的可用区Copyright © 2022. All rights reserved.