public class ModifyRoGroupInfoRequest extends AbstractModel
Constructor and Description |
---|
ModifyRoGroupInfoRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getIsBalanceRoLoad()
Get Whether to rebalance the loads of RO instances 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 RO instances 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, toJsonString
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 RO instances in the RO group. Supported values include `1` (yes) and `0` (no). The default value is `0`. Please note that if this value is set to `1`, connections to the RO instances in the RO group will be interrupted transiently; therefore, you should ensure that your application can reconnect to the databases.Copyright © 2020. All rights reserved.