public class ModifyRoGroupInfoRequest extends AbstractModel
| Constructor and Description | 
|---|
| ModifyRoGroupInfoRequest() | 
| ModifyRoGroupInfoRequest(ModifyRoGroupInfoRequest 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 | getIsBalanceRoLoad()Get Whether to rebalance the loads of read-only replicas in the RO group. | 
| Long | getReplicationDelayTime()Get This field has been deprecated. | 
| String | getRoGroupId()Get RO group ID. | 
| RoGroupAttr | getRoGroupInfo()Get RO group details. | 
| RoWeightValue[] | getRoWeightValues()Get Weights of instances in RO group. | 
| void | setIsBalanceRoLoad(Long IsBalanceRoLoad)Set Whether to rebalance the loads of read-only replicas in the RO group. | 
| void | setReplicationDelayTime(Long ReplicationDelayTime)Set This field has been deprecated. | 
| void | setRoGroupId(String RoGroupId)Set RO group ID. | 
| void | setRoGroupInfo(RoGroupAttr RoGroupInfo)Set RO group details. | 
| void | setRoWeightValues(RoWeightValue[] RoWeightValues)Set Weights of instances in RO group. | 
| 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, toJsonStringpublic ModifyRoGroupInfoRequest()
public ModifyRoGroupInfoRequest(ModifyRoGroupInfoRequest source)
public String getRoGroupId()
public void setRoGroupId(String RoGroupId)
RoGroupId - RO group ID.public RoGroupAttr getRoGroupInfo()
public void setRoGroupInfo(RoGroupAttr RoGroupInfo)
RoGroupInfo - RO group details.public RoWeightValue[] getRoWeightValues()
public void setRoWeightValues(RoWeightValue[] RoWeightValues)
RoWeightValues - Weights of instances in RO group. If the weighting mode of an RO group is changed to custom mode, this parameter must be set, and a weight value needs to be set for each RO instance.public Long getIsBalanceRoLoad()
public void setIsBalanceRoLoad(Long IsBalanceRoLoad)
IsBalanceRoLoad - Whether to rebalance the loads of read-only replicas in the RO group. Valid values: `1` (yes), `0` (no). Default value: `0`. If this parameter is set to `1`, connections to the read-only replicas in the RO group will be interrupted transiently. Please ensure that your application has a reconnection mechanism.public Long getReplicationDelayTime()
public void setReplicationDelayTime(Long ReplicationDelayTime)
ReplicationDelayTime - This field has been deprecated.Copyright © 2022. All rights reserved.