public class DescribeDBInstanceConfigResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeDBInstanceConfigResponse() |
DescribeDBInstanceConfigResponse(DescribeDBInstanceConfigResponse 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 |
---|---|
BackupConfig |
getBackupConfig()
Get Configurations of the second replica node of a strong-sync instance
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
Long |
getDeployMode()
Get Master instance deployment mode.
|
Long |
getProtectMode()
Get Data protection mode of the primary instance.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
SlaveConfig |
getSlaveConfig()
Get Configurations of the replica node
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
Boolean |
getSwitched()
Get This parameter is only available for multi-AZ instances.
|
String |
getZone()
Get Instance AZ information in the format of "ap-shanghai-1".
|
void |
setBackupConfig(BackupConfig BackupConfig)
Set Configurations of the second replica node of a strong-sync instance
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
void |
setDeployMode(Long DeployMode)
Set Master instance deployment mode.
|
void |
setProtectMode(Long ProtectMode)
Set Data protection mode of the primary instance.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setSlaveConfig(SlaveConfig SlaveConfig)
Set Configurations of the replica node
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
void |
setSwitched(Boolean Switched)
Set This parameter is only available for multi-AZ instances.
|
void |
setZone(String Zone)
Set Instance AZ information in the format of "ap-shanghai-1".
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeDBInstanceConfigResponse()
public DescribeDBInstanceConfigResponse(DescribeDBInstanceConfigResponse source)
public Long getProtectMode()
public void setProtectMode(Long ProtectMode)
ProtectMode
- Data protection mode of the primary instance. Value range: 0 (async replication), 1 (semi-sync replication), 2 (strong sync replication).public Long getDeployMode()
public void setDeployMode(Long DeployMode)
DeployMode
- Master instance deployment mode. Value range: 0 (single-AZ), 1 (multi-AZ)public String getZone()
public void setZone(String Zone)
Zone
- Instance AZ information in the format of "ap-shanghai-1".public SlaveConfig getSlaveConfig()
public void setSlaveConfig(SlaveConfig SlaveConfig)
SlaveConfig
- Configurations of the replica node
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public BackupConfig getBackupConfig()
public void setBackupConfig(BackupConfig BackupConfig)
BackupConfig
- Configurations of the second replica node of a strong-sync instance
Note: `null` may be returned for this field, indicating that no valid values can be obtained.public Boolean getSwitched()
public void setSwitched(Boolean Switched)
Switched
- This parameter is only available for multi-AZ instances. It indicates whether the source AZ is the same as the one specified upon purchase. `true`: not the same, `false`: the same.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.