public class SlaveConfig extends AbstractModel
Constructor and Description |
---|
SlaveConfig() |
SlaveConfig(SlaveConfig 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 |
getReplicationMode()
Get Replication mode of the secondary database.
|
String |
getZone()
Get AZ name of the secondary database, such as ap-shanghai-1
|
void |
setReplicationMode(String ReplicationMode)
Set Replication mode of the secondary database.
|
void |
setZone(String Zone)
Set AZ name of the secondary database, such as ap-shanghai-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 SlaveConfig()
public SlaveConfig(SlaveConfig source)
public String getReplicationMode()
public void setReplicationMode(String ReplicationMode)
ReplicationMode
- Replication mode of the secondary database. Value range: async, semi-syncpublic String getZone()
public void setZone(String Zone)
Zone
- AZ name of the secondary database, such as ap-shanghai-1Copyright © 2023. All rights reserved.