public class CreateCdbProxyAddressRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateCdbProxyAddressRequest() |
CreateCdbProxyAddressRequest(CreateCdbProxyAddressRequest 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 是否自动添加RO,取值:"true" | "false"
|
Boolean |
getConnectionPool()
Get 是否开启连接池
|
String |
getConnectionPoolType()
Get 连接池类型。可选值 transaction(事务级别连接池),connection(会话级别连接池),ConnectionPool为true时生效。
|
String |
getDesc()
Get 描述
|
Boolean |
getFailOver()
Get 是否开启故障转移,取值:"true" | "false"
|
Boolean |
getIsKickOut()
Get 是否开启延迟剔除,取值:"true" | "false"
|
Long |
getMaxDelay()
Get 延迟剔除阈值,最小取值:0
|
Long |
getMinCount()
Get 最小保留数量,最小取值:0
|
ProxyAllocation[] |
getProxyAllocation()
Get 读写权重分配
|
String |
getProxyGroupId()
Get 代理组ID
|
Boolean |
getReadOnly()
Get 是否是只读,取值:"true" | "false"
|
String[] |
getSecurityGroup()
Get 安全组
|
Boolean |
getTransSplit()
Get 是否开启事务分离,取值:"true" | "false"
|
String |
getUniqSubnetId()
Get 私有子网ID
|
String |
getUniqVpcId()
Get 私有网络ID
|
String |
getVip()
Get IP地址
|
Long |
getVPort()
Get 端口
|
String |
getWeightMode()
Get 权重分配模式,
系统自动分配:"system", 自定义:"custom"
|
void |
setAutoAddRo(Boolean AutoAddRo)
Set 是否自动添加RO,取值:"true" | "false"
|
void |
setConnectionPool(Boolean ConnectionPool)
Set 是否开启连接池
|
void |
setConnectionPoolType(String ConnectionPoolType)
Set 连接池类型。可选值 transaction(事务级别连接池),connection(会话级别连接池),ConnectionPool为true时生效。
|
void |
setDesc(String Desc)
Set 描述
|
void |
setFailOver(Boolean FailOver)
Set 是否开启故障转移,取值:"true" | "false"
|
void |
setIsKickOut(Boolean IsKickOut)
Set 是否开启延迟剔除,取值:"true" | "false"
|
void |
setMaxDelay(Long MaxDelay)
Set 延迟剔除阈值,最小取值:0
|
void |
setMinCount(Long MinCount)
Set 最小保留数量,最小取值:0
|
void |
setProxyAllocation(ProxyAllocation[] ProxyAllocation)
Set 读写权重分配
|
void |
setProxyGroupId(String ProxyGroupId)
Set 代理组ID
|
void |
setReadOnly(Boolean ReadOnly)
Set 是否是只读,取值:"true" | "false"
|
void |
setSecurityGroup(String[] SecurityGroup)
Set 安全组
|
void |
setTransSplit(Boolean TransSplit)
Set 是否开启事务分离,取值:"true" | "false"
|
void |
setUniqSubnetId(String UniqSubnetId)
Set 私有子网ID
|
void |
setUniqVpcId(String UniqVpcId)
Set 私有网络ID
|
void |
setVip(String Vip)
Set IP地址
|
void |
setVPort(Long VPort)
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateCdbProxyAddressRequest()
public CreateCdbProxyAddressRequest(CreateCdbProxyAddressRequest source)
public String getProxyGroupId()
public void setProxyGroupId(String ProxyGroupId)
ProxyGroupId
- 代理组IDpublic String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode
- 权重分配模式,
系统自动分配:"system", 自定义:"custom"public Boolean getIsKickOut()
public void setIsKickOut(Boolean IsKickOut)
IsKickOut
- 是否开启延迟剔除,取值:"true" | "false"public Long getMinCount()
public void setMinCount(Long MinCount)
MinCount
- 最小保留数量,最小取值:0public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay
- 延迟剔除阈值,最小取值:0public Boolean getFailOver()
public void setFailOver(Boolean FailOver)
FailOver
- 是否开启故障转移,取值:"true" | "false"public Boolean getAutoAddRo()
public void setAutoAddRo(Boolean AutoAddRo)
AutoAddRo
- 是否自动添加RO,取值:"true" | "false"public Boolean getReadOnly()
public void setReadOnly(Boolean ReadOnly)
ReadOnly
- 是否是只读,取值:"true" | "false"public Boolean getTransSplit()
public void setTransSplit(Boolean TransSplit)
TransSplit
- 是否开启事务分离,取值:"true" | "false"public ProxyAllocation[] getProxyAllocation()
public void setProxyAllocation(ProxyAllocation[] ProxyAllocation)
ProxyAllocation
- 读写权重分配public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- 私有网络IDpublic String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId
- 私有子网IDpublic Boolean getConnectionPool()
public void setConnectionPool(Boolean ConnectionPool)
ConnectionPool
- 是否开启连接池public String getDesc()
public void setDesc(String Desc)
Desc
- 描述public String getVip()
public void setVip(String Vip)
Vip
- IP地址public Long getVPort()
public void setVPort(Long VPort)
VPort
- 端口public String[] getSecurityGroup()
public void setSecurityGroup(String[] SecurityGroup)
SecurityGroup
- 安全组public String getConnectionPoolType()
public void setConnectionPoolType(String ConnectionPoolType)
ConnectionPoolType
- 连接池类型。可选值 transaction(事务级别连接池),connection(会话级别连接池),ConnectionPool为true时生效。Copyright © 2024. All rights reserved.