public class ModifyCDBProxyRequest extends AbstractModel
| Constructor and Description | 
|---|
| ModifyCDBProxyRequest() | 
| ModifyCDBProxyRequest(ModifyCDBProxyRequest 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 | 
|---|---|
| Boolean | getAutoAddRo()Get Whether to automatically add newly created read-only instances to the proxy group. | 
| Boolean | getFailOver()Get Whether to enable failover. | 
| Boolean | getIsKickout()Get Whether to remove delayed read-only instances from the proxy group. | 
| Long | getMaxDelay()Get Delay threshold. | 
| Long | getMinCount()Get The minimum number of read-only instances allowed by the proxy group. | 
| String | getProxyGroupId()Get Unique ID of the database proxy group | 
| RoWeight | getRoWeightValues()Get Read-Only weight of an instance | 
| String | getWeightMode()Get Assignment mode of read/write weights. | 
| void | setAutoAddRo(Boolean AutoAddRo)Set Whether to automatically add newly created read-only instances to the proxy group. | 
| void | setFailOver(Boolean FailOver)Set Whether to enable failover. | 
| void | setIsKickout(Boolean IsKickout)Set Whether to remove delayed read-only instances from the proxy group. | 
| void | setMaxDelay(Long MaxDelay)Set Delay threshold. | 
| void | setMinCount(Long MinCount)Set The minimum number of read-only instances allowed by the proxy group. | 
| void | setProxyGroupId(String ProxyGroupId)Set Unique ID of the database proxy group | 
| void | setRoWeightValues(RoWeight RoWeightValues)Set Read-Only weight of an instance | 
| void | setWeightMode(String WeightMode)Set Assignment mode of read/write weights. | 
| 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 ModifyCDBProxyRequest()
public ModifyCDBProxyRequest(ModifyCDBProxyRequest source)
public String getProxyGroupId()
public void setProxyGroupId(String ProxyGroupId)
ProxyGroupId - Unique ID of the database proxy grouppublic Boolean getIsKickout()
public void setIsKickout(Boolean IsKickout)
IsKickout - Whether to remove delayed read-only instances from the proxy group. Valid values: `true`, `false`. Default value: `false`.public Long getMinCount()
public void setMinCount(Long MinCount)
MinCount - The minimum number of read-only instances allowed by the proxy group. Minimum value: 1; maximum value: The number of instances.public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay - Delay threshold. If `IsKickOut` is set to `true`, this parameter is required.public String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode - Assignment mode of read/write weights. Valid values: `system` (auto-assigned), `custom`public RoWeight getRoWeightValues()
public void setRoWeightValues(RoWeight RoWeightValues)
RoWeightValues - Read-Only weight of an instancepublic Boolean getFailOver()
public void setFailOver(Boolean FailOver)
FailOver - Whether to enable failover. If it is enabled, the connection address will route requests to the source instance in case of proxy failure. Valid values: `true`, `false`. Default value: `false`.public Boolean getAutoAddRo()
public void setAutoAddRo(Boolean AutoAddRo)
AutoAddRo - Whether to automatically add newly created read-only instances to the proxy group. Valid values: `true`, `false` Default value: `false`.Copyright © 2022. All rights reserved.