public class DescribeDBInstanceHAConfigResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeDBInstanceHAConfigResponse() |
DescribeDBInstanceHAConfigResponse(DescribeDBInstanceHAConfigResponse 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 |
---|---|
Long |
getMaxStandbyLag()
Get The maximum delay for high-availability standby server The standby node can be promoted to the primary node when its data lag and the delay time are both less than or equals to the value of `MaxStandbyLatency` and `MaxStandbyLag` respectively.
|
Long |
getMaxStandbyLatency()
Get Maximum data lag for high-availability standby server.
|
Long |
getMaxSyncStandbyLag()
Get Maximum sync delay time for u200dstandby server.
|
Long |
getMaxSyncStandbyLatency()
Get Maximum data sync lag for u200du200dstandby server.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getSyncMode()
Get Primary-standby sync mode.
|
void |
setMaxStandbyLag(Long MaxStandbyLag)
Set The maximum delay for high-availability standby server The standby node can be promoted to the primary node when its data lag and the delay time are both less than or equals to the value of `MaxStandbyLatency` and `MaxStandbyLag` respectively.
|
void |
setMaxStandbyLatency(Long MaxStandbyLatency)
Set Maximum data lag for high-availability standby server.
|
void |
setMaxSyncStandbyLag(Long MaxSyncStandbyLag)
Set Maximum sync delay time for u200dstandby server.
|
void |
setMaxSyncStandbyLatency(Long MaxSyncStandbyLatency)
Set Maximum data sync lag for u200du200dstandby server.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setSyncMode(String SyncMode)
Set Primary-standby sync 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 DescribeDBInstanceHAConfigResponse()
public DescribeDBInstanceHAConfigResponse(DescribeDBInstanceHAConfigResponse source)
public String getSyncMode()
public void setSyncMode(String SyncMode)
SyncMode
- Primary-standby sync mode. Valid values:
public Long getMaxStandbyLatency()
public void setMaxStandbyLatency(Long MaxStandbyLatency)
MaxStandbyLatency
- Maximum data lag for high-availability standby server. The standby node can be promoted to the primary node when its data lag and the delay time are both less than the value of `MaxStandbyLatency` and `MaxStandbyLag` respectively.
public Long getMaxStandbyLag()
public void setMaxStandbyLag(Long MaxStandbyLag)
MaxStandbyLag
- The maximum delay for high-availability standby server The standby node can be promoted to the primary node when its data lag and the delay time are both less than or equals to the value of `MaxStandbyLatency` and `MaxStandbyLag` respectively.
public Long getMaxSyncStandbyLatency()
public void setMaxSyncStandbyLatency(Long MaxSyncStandbyLatency)
MaxSyncStandbyLatency
- Maximum data sync lag for u200du200dstandby server. If data lag of the standby node and the delay time are both less than or equals to the values of `MaxSyncStandbyLatency` and `MaxSyncStandbyLag` respectively, the standby server adopts semi-sync replication; if not, it adopts async replication.
This value is only valid for the instance with `SyncMode` set to `Semi-sync`.
This field returns null for async instance
and semi-sync (non-downgradable to async) instance.
Note: u200dThis field may return null, indicating that no valid values can be obtained.public Long getMaxSyncStandbyLag()
public void setMaxSyncStandbyLag(Long MaxSyncStandbyLag)
MaxSyncStandbyLag
- Maximum sync delay time for u200dstandby server. If the delay time for u200dstandby server and the data lag are both less than or equals to the values of `MaxSyncStandbyLag` and `MaxSyncStandbyLatency` respectively, the standby server adopts sync replication mode; if not, it adopts async replication.
This value is only valid for the instance with `SyncMode` set to `Semi-sync`.
This field will not return for async instance
and semi-sync (non-downgradable to async) instance.
Note: u200dThis field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2024. All rights reserved.