public class ReadOnlyGroup extends AbstractModel
Constructor and Description |
---|
ReadOnlyGroup() |
ReadOnlyGroup(ReadOnlyGroup 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 |
---|---|
DBInstanceNetInfo[] |
getDBInstanceNetInfo()
Get Network information
|
String |
getMasterDBInstanceId()
Get Primary instance ID
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Float |
getMaxReplayLag()
Get Delay threshold
|
Long |
getMaxReplayLatency()
Get Delayed log size threshold
|
Long |
getMinDelayEliminateReserve()
Get The minimum number of read-only replicas that must be retained in an RO group
Note: this field may return `null`, indicating that no valid values can be obtained.
|
NetworkAccess[] |
getNetworkAccessList()
Get Network access list of the RO group (this field has been deprecated)
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getProjectId()
Get Project ID
Note: this field may return `null`, indicating that no valid values can be obtained.
|
DBInstance[] |
getReadOnlyDBInstanceList()
Get Instance details
|
String |
getReadOnlyGroupId()
Get RO group identifier
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getReadOnlyGroupName()
Get RO group name
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getRebalance()
Get Whether to enable automatic load balancing
|
String |
getRegion()
Get Region ID
|
Long |
getReplayLagEliminate()
Get Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold.
|
Long |
getReplayLatencyEliminate()
Get Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold.
|
String |
getStatus()
Get Status
|
String |
getSubnetId()
Get Subnet ID
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getVpcId()
Get VPC ID
|
String |
getZone()
Get Availability zone ID
|
void |
setDBInstanceNetInfo(DBInstanceNetInfo[] DBInstanceNetInfo)
Set Network information
|
void |
setMasterDBInstanceId(String MasterDBInstanceId)
Set Primary instance ID
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setMaxReplayLag(Float MaxReplayLag)
Set Delay threshold
|
void |
setMaxReplayLatency(Long MaxReplayLatency)
Set Delayed log size threshold
|
void |
setMinDelayEliminateReserve(Long MinDelayEliminateReserve)
Set The minimum number of read-only replicas that must be retained in an RO group
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setNetworkAccessList(NetworkAccess[] NetworkAccessList)
Set Network access list of the RO group (this field has been deprecated)
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setProjectId(Long ProjectId)
Set Project ID
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setReadOnlyDBInstanceList(DBInstance[] ReadOnlyDBInstanceList)
Set Instance details
|
void |
setReadOnlyGroupId(String ReadOnlyGroupId)
Set RO group identifier
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setReadOnlyGroupName(String ReadOnlyGroupName)
Set RO group name
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setRebalance(Long Rebalance)
Set Whether to enable automatic load balancing
|
void |
setRegion(String Region)
Set Region ID
|
void |
setReplayLagEliminate(Long ReplayLagEliminate)
Set Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold.
|
void |
setReplayLatencyEliminate(Long ReplayLatencyEliminate)
Set Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold.
|
void |
setStatus(String Status)
Set Status
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setVpcId(String VpcId)
Set VPC ID
|
void |
setZone(String Zone)
Set Availability zone ID
|
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 ReadOnlyGroup()
public ReadOnlyGroup(ReadOnlyGroup source)
public String getReadOnlyGroupId()
public void setReadOnlyGroupId(String ReadOnlyGroupId)
ReadOnlyGroupId
- RO group identifier
Note: this field may return `null`, indicating that no valid values can be obtained.public String getReadOnlyGroupName()
public void setReadOnlyGroupName(String ReadOnlyGroupName)
ReadOnlyGroupName
- RO group name
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID
Note: this field may return `null`, indicating that no valid values can be obtained.public String getMasterDBInstanceId()
public void setMasterDBInstanceId(String MasterDBInstanceId)
MasterDBInstanceId
- Primary instance ID
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getMinDelayEliminateReserve()
public void setMinDelayEliminateReserve(Long MinDelayEliminateReserve)
MinDelayEliminateReserve
- The minimum number of read-only replicas that must be retained in an RO group
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getMaxReplayLatency()
public void setMaxReplayLatency(Long MaxReplayLatency)
MaxReplayLatency
- Delayed log size thresholdpublic Long getReplayLatencyEliminate()
public void setReplayLatencyEliminate(Long ReplayLatencyEliminate)
ReplayLatencyEliminate
- Whether to remove a read-only replica from an RO group if the sync log size difference between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).public Float getMaxReplayLag()
public void setMaxReplayLag(Float MaxReplayLag)
MaxReplayLag
- Delay thresholdpublic Long getReplayLagEliminate()
public void setReplayLagEliminate(Long ReplayLagEliminate)
ReplayLagEliminate
- Whether to remove a read-only replica from an RO group if the delay between the read-only replica and the primary instance exceeds the threshold. Valid values: `0` (no), `1` (yes).public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID
Note: this field may return `null`, indicating that no valid values can be obtained.public String getRegion()
public void setRegion(String Region)
Region
- Region IDpublic String getZone()
public void setZone(String Zone)
Zone
- Availability zone IDpublic String getStatus()
public void setStatus(String Status)
Status
- Statuspublic DBInstance[] getReadOnlyDBInstanceList()
public void setReadOnlyDBInstanceList(DBInstance[] ReadOnlyDBInstanceList)
ReadOnlyDBInstanceList
- Instance detailspublic Long getRebalance()
public void setRebalance(Long Rebalance)
Rebalance
- Whether to enable automatic load balancingpublic DBInstanceNetInfo[] getDBInstanceNetInfo()
public void setDBInstanceNetInfo(DBInstanceNetInfo[] DBInstanceNetInfo)
DBInstanceNetInfo
- Network informationpublic NetworkAccess[] getNetworkAccessList()
public void setNetworkAccessList(NetworkAccess[] NetworkAccessList)
NetworkAccessList
- Network access list of the RO group (this field has been deprecated)
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.