public class BackupConfig extends AbstractModel
Constructor and Description |
---|
BackupConfig() |
BackupConfig(BackupConfig 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 secondary database 2.
|
String |
getVip()
Get Private IP address of secondary database 2
|
Long |
getVport()
Get Access port of secondary database 2
|
String |
getZone()
Get Name of the AZ of secondary database 2, such as ap-shanghai-1
|
void |
setReplicationMode(String ReplicationMode)
Set Replication mode of secondary database 2.
|
void |
setVip(String Vip)
Set Private IP address of secondary database 2
|
void |
setVport(Long Vport)
Set Access port of secondary database 2
|
void |
setZone(String Zone)
Set Name of the AZ of secondary database 2, 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 BackupConfig()
public BackupConfig(BackupConfig source)
public String getReplicationMode()
public void setReplicationMode(String ReplicationMode)
ReplicationMode
- Replication mode of secondary database 2. Value range: async, semi-syncpublic String getZone()
public void setZone(String Zone)
Zone
- Name of the AZ of secondary database 2, such as ap-shanghai-1public String getVip()
public void setVip(String Vip)
Vip
- Private IP address of secondary database 2public Long getVport()
public void setVport(Long Vport)
Vport
- Access port of secondary database 2Copyright © 2023. All rights reserved.