public class ModifyRoGroupInfoRequest extends AbstractModel
| Constructor and Description | 
|---|
| ModifyRoGroupInfoRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getIsBalanceRoLoad()Get Whether to rebalance the loads of read-only replicas in the RO group. | 
| 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 | 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 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.Copyright © 2021. All rights reserved.