Class ZoneConf
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.ZoneConf
-
public class ZoneConf extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getBackupZone()Get 实例为多可用区部署时,备库2所在的可用区Long[]getDeployMode()Get 可用区部署方式,可能的值为:0-单可用区;1-多可用区String[]getMasterZone()Get 主实例所在的可用区String[]getSlaveZone()Get 实例为多可用区部署时,备库1所在的可用区voidsetBackupZone(String[] BackupZone)Set 实例为多可用区部署时,备库2所在的可用区voidsetDeployMode(Long[] DeployMode)Set 可用区部署方式,可能的值为:0-单可用区;1-多可用区voidsetMasterZone(String[] MasterZone)Set 主实例所在的可用区voidsetSlaveZone(String[] SlaveZone)Set 实例为多可用区部署时,备库1所在的可用区voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ZoneConf
public ZoneConf()
-
ZoneConf
public 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.
-
-
Method Detail
-
getDeployMode
public Long[] getDeployMode()
Get 可用区部署方式,可能的值为:0-单可用区;1-多可用区- Returns:
- DeployMode 可用区部署方式,可能的值为:0-单可用区;1-多可用区
-
setDeployMode
public void setDeployMode(Long[] DeployMode)
Set 可用区部署方式,可能的值为:0-单可用区;1-多可用区- Parameters:
DeployMode- 可用区部署方式,可能的值为:0-单可用区;1-多可用区
-
getMasterZone
public String[] getMasterZone()
Get 主实例所在的可用区- Returns:
- MasterZone 主实例所在的可用区
-
setMasterZone
public void setMasterZone(String[] MasterZone)
Set 主实例所在的可用区- Parameters:
MasterZone- 主实例所在的可用区
-
getSlaveZone
public String[] getSlaveZone()
Get 实例为多可用区部署时,备库1所在的可用区- Returns:
- SlaveZone 实例为多可用区部署时,备库1所在的可用区
-
setSlaveZone
public void setSlaveZone(String[] SlaveZone)
Set 实例为多可用区部署时,备库1所在的可用区- Parameters:
SlaveZone- 实例为多可用区部署时,备库1所在的可用区
-
getBackupZone
public String[] getBackupZone()
Get 实例为多可用区部署时,备库2所在的可用区- Returns:
- BackupZone 实例为多可用区部署时,备库2所在的可用区
-
setBackupZone
public void setBackupZone(String[] BackupZone)
Set 实例为多可用区部署时,备库2所在的可用区- Parameters:
BackupZone- 实例为多可用区部署时,备库2所在的可用区
-
-