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 是否自动添加只读实例,默认false,取值:"true" | "false"
|
Boolean |
getFailOver()
Get 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,默认false,取值:"true" | "false"
|
Boolean |
getIsKickout()
Get 是否开始延迟剔除,默认false,取值:"true" | "false"
|
Long |
getMaxDelay()
Get 延迟剔除的阈值;如果IsKickOut="true", 该字段必填
|
Long |
getMinCount()
Get 最少保留数,最小为0,最大为实例数量
|
String |
getProxyGroupId()
Get 数据库代理组唯一ID
|
RoWeight |
getRoWeightValues()
Get 实例只读权重
|
String |
getWeightMode()
Get 读写权重分配模式;系统自动分配:"system", 自定义:"custom"
|
void |
setAutoAddRo(Boolean AutoAddRo)
Set 是否自动添加只读实例,默认false,取值:"true" | "false"
|
void |
setFailOver(Boolean FailOver)
Set 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,默认false,取值:"true" | "false"
|
void |
setIsKickout(Boolean IsKickout)
Set 是否开始延迟剔除,默认false,取值:"true" | "false"
|
void |
setMaxDelay(Long MaxDelay)
Set 延迟剔除的阈值;如果IsKickOut="true", 该字段必填
|
void |
setMinCount(Long MinCount)
Set 最少保留数,最小为0,最大为实例数量
|
void |
setProxyGroupId(String ProxyGroupId)
Set 数据库代理组唯一ID
|
void |
setRoWeightValues(RoWeight RoWeightValues)
Set 实例只读权重
|
void |
setWeightMode(String WeightMode)
Set 读写权重分配模式;系统自动分配:"system", 自定义:"custom"
|
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 ModifyCDBProxyRequest()
public ModifyCDBProxyRequest(ModifyCDBProxyRequest source)
public String getProxyGroupId()
public void setProxyGroupId(String ProxyGroupId)
ProxyGroupId
- 数据库代理组唯一IDpublic Boolean getIsKickout()
public void setIsKickout(Boolean IsKickout)
IsKickout
- 是否开始延迟剔除,默认false,取值:"true" | "false"public Long getMinCount()
public void setMinCount(Long MinCount)
MinCount
- 最少保留数,最小为0,最大为实例数量public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay
- 延迟剔除的阈值;如果IsKickOut="true", 该字段必填public String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode
- 读写权重分配模式;系统自动分配:"system", 自定义:"custom"public RoWeight getRoWeightValues()
public void setRoWeightValues(RoWeight RoWeightValues)
RoWeightValues
- 实例只读权重public Boolean getFailOver()
public void setFailOver(Boolean FailOver)
FailOver
- 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,默认false,取值:"true" | "false"public Boolean getAutoAddRo()
public void setAutoAddRo(Boolean AutoAddRo)
AutoAddRo
- 是否自动添加只读实例,默认false,取值:"true" | "false"Copyright © 2022. All rights reserved.