public class AdjustCdbProxyAddressRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AdjustCdbProxyAddressRequest() | 
| AdjustCdbProxyAddressRequest(AdjustCdbProxyAddressRequest 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. | 
| Boolean | getConnectionPool()Get Whether to enable the connection pool | 
| Boolean | getFailOver()Get Whether to enable failover. | 
| Boolean | getIsKickOut()Get Whether to remove delayed read-only instances from the proxy group Valid values: `true`, `false`. | 
| Long | getMaxDelay()Get The delay threshold. | 
| Long | getMinCount()Get Least read-only instances. | 
| String | getProxyAddressId()Get Address ID of the proxy group | 
| ProxyAllocation[] | getProxyAllocation()Get Assignment of read/write weights If `system` is passed in for `WeightMode`, only the default weight assigned by the system will take effect. | 
| String | getProxyGroupId()Get Proxy group ID | 
| Boolean | getReadOnly()Get Whether it is read-only. | 
| Boolean | getTransSplit()Get Whether to enable transaction splitting. | 
| String | getWeightMode()Get Assignment mode of weights. | 
| void | setAutoAddRo(Boolean AutoAddRo)Set Whether to automatically add newly created read-only instances. | 
| void | setConnectionPool(Boolean ConnectionPool)Set Whether to enable the connection pool | 
| 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 Valid values: `true`, `false`. | 
| void | setMaxDelay(Long MaxDelay)Set The delay threshold. | 
| void | setMinCount(Long MinCount)Set Least read-only instances. | 
| void | setProxyAddressId(String ProxyAddressId)Set Address ID of the proxy group | 
| void | setProxyAllocation(ProxyAllocation[] ProxyAllocation)Set Assignment of read/write weights If `system` is passed in for `WeightMode`, only the default weight assigned by the system will take effect. | 
| void | setProxyGroupId(String ProxyGroupId)Set Proxy group ID | 
| void | setReadOnly(Boolean ReadOnly)Set Whether it is read-only. | 
| void | setTransSplit(Boolean TransSplit)Set Whether to enable transaction splitting. | 
| void | setWeightMode(String WeightMode)Set Assignment mode of weights. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AdjustCdbProxyAddressRequest()
public AdjustCdbProxyAddressRequest(AdjustCdbProxyAddressRequest source)
public String getProxyGroupId()
public void setProxyGroupId(String ProxyGroupId)
ProxyGroupId - Proxy group IDpublic String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode - Assignment mode of weights. Valid values: `system` (auto-assigned), `custom`.public Boolean getIsKickOut()
public void setIsKickOut(Boolean IsKickOut)
IsKickOut - Whether to remove delayed read-only instances from the proxy group Valid values: `true`, `false`.public Long getMinCount()
public void setMinCount(Long MinCount)
MinCount - Least read-only instances. Minimum value:  `0`public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay - The delay threshold. Minimum value:  `0`public Boolean getFailOver()
public void setFailOver(Boolean FailOver)
FailOver - Whether to enable failover. Valid values: `true`, `false`.public Boolean getAutoAddRo()
public void setAutoAddRo(Boolean AutoAddRo)
AutoAddRo - Whether to automatically add newly created read-only instances. Valid values: `true`, `false`.public Boolean getReadOnly()
public void setReadOnly(Boolean ReadOnly)
ReadOnly - Whether it is read-only. Valid values: `true`, `false`.public String getProxyAddressId()
public void setProxyAddressId(String ProxyAddressId)
ProxyAddressId - Address ID of the proxy grouppublic Boolean getTransSplit()
public void setTransSplit(Boolean TransSplit)
TransSplit - Whether to enable transaction splitting. Valid values: `true`, `false`.public Boolean getConnectionPool()
public void setConnectionPool(Boolean ConnectionPool)
ConnectionPool - Whether to enable the connection poolpublic ProxyAllocation[] getProxyAllocation()
public void setProxyAllocation(ProxyAllocation[] ProxyAllocation)
ProxyAllocation - Assignment of read/write weights If `system` is passed in for `WeightMode`, only the default weight assigned by the system will take effect.Copyright © 2024. All rights reserved.