public class CreateReadOnlyGroupRequest extends AbstractModel
Constructor and Description |
---|
CreateReadOnlyGroupRequest() |
CreateReadOnlyGroupRequest(CreateReadOnlyGroupRequest 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 |
getMasterDBInstanceId()
Get Primary instance ID
|
Long |
getMaxReplayLag()
Get Delay threshold in ms
|
Long |
getMaxReplayLatency()
Get Delayed log size threshold in MB
|
Long |
getMinDelayEliminateReserve()
Get The minimum number of read-only replicas that must be retained in an RO group
|
String |
getName()
Get RO group name
|
Long |
getProjectId()
Get Project 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[] |
getSecurityGroupIds()
Get Security group ID
|
String |
getSubnetId()
Get Subnet ID
|
String |
getVpcId()
Get VPC ID
|
void |
setMasterDBInstanceId(String MasterDBInstanceId)
Set Primary instance ID
|
void |
setMaxReplayLag(Long MaxReplayLag)
Set Delay threshold in ms
|
void |
setMaxReplayLatency(Long MaxReplayLatency)
Set Delayed log size threshold in MB
|
void |
setMinDelayEliminateReserve(Long MinDelayEliminateReserve)
Set The minimum number of read-only replicas that must be retained in an RO group
|
void |
setName(String Name)
Set RO group name
|
void |
setProjectId(Long ProjectId)
Set Project 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 |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Security group ID
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
|
void |
setVpcId(String VpcId)
Set VPC 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 CreateReadOnlyGroupRequest()
public CreateReadOnlyGroupRequest(CreateReadOnlyGroupRequest source)
public String getMasterDBInstanceId()
public void setMasterDBInstanceId(String MasterDBInstanceId)
MasterDBInstanceId
- Primary instance IDpublic String getName()
public void setName(String Name)
Name
- RO group namepublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project IDpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet IDpublic 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 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 Long getMaxReplayLag()
public void setMaxReplayLag(Long MaxReplayLag)
MaxReplayLag
- Delay threshold in mspublic Long getMaxReplayLatency()
public void setMaxReplayLatency(Long MaxReplayLatency)
MaxReplayLatency
- Delayed log size threshold in MBpublic Long getMinDelayEliminateReserve()
public void setMinDelayEliminateReserve(Long MinDelayEliminateReserve)
MinDelayEliminateReserve
- The minimum number of read-only replicas that must be retained in an RO grouppublic String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Security group IDCopyright © 2023. All rights reserved.