public class SlaveConfig extends AbstractModel
Constructor and Description |
---|
SlaveConfig() |
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 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 © 2020. All rights reserved.