public class ZoneConf extends AbstractModel
header, skipSign
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 AZ where salve database 2 is located when the instance is deployed in multi-AZ mode
|
Long[] |
getDeployMode()
Get AZ deployment mode.
|
String[] |
getMasterZone()
Get AZ where the primary instance is located
|
String[] |
getSlaveZone()
Get AZ where salve database 1 is located when the instance is deployed in multi-AZ mode
|
void |
setBackupZone(String[] BackupZone)
Set AZ where salve database 2 is located when the instance is deployed in multi-AZ mode
|
void |
setDeployMode(Long[] DeployMode)
Set AZ deployment mode.
|
void |
setMasterZone(String[] MasterZone)
Set AZ where the primary instance is located
|
void |
setSlaveZone(String[] SlaveZone)
Set AZ where salve database 1 is located when the instance is deployed in multi-AZ mode
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ZoneConf()
public ZoneConf(ZoneConf source)
public Long[] getDeployMode()
public void setDeployMode(Long[] DeployMode)
DeployMode
- AZ deployment mode. Value range: 0 (single-AZ), 1 (multi-AZ)public String[] getMasterZone()
public void setMasterZone(String[] MasterZone)
MasterZone
- AZ where the primary instance is locatedpublic String[] getSlaveZone()
public void setSlaveZone(String[] SlaveZone)
SlaveZone
- AZ where salve database 1 is located when the instance is deployed in multi-AZ modepublic String[] getBackupZone()
public void setBackupZone(String[] BackupZone)
BackupZone
- AZ where salve database 2 is located when the instance is deployed in multi-AZ modeCopyright © 2024. All rights reserved.