Class ProxyAddress
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdb.v20170320.models.ProxyAddress
-
public class ProxyAddress extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ProxyAddress()ProxyAddress(ProxyAddress 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAutoAddRo()Get 是否自动添加RO,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。BooleangetConnectionPool()Get 是否开启连接池 注意:此字段可能返回 null,表示取不到有效值。StringgetDesc()Get 描述 注意:此字段可能返回 null,表示取不到有效值。BooleangetFailOver()Get 是否开启故障转移 注意:此字段可能返回 null,表示取不到有效值。BooleangetIsKickOut()Get 是否开启延迟剔除,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。LonggetMaxDelay()Get 延迟剔除阈值,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。LonggetMinCount()Get 最小保留数量,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。StringgetProxyAddressId()Get 代理组地址IDProxyAllocation[]getProxyAllocation()Get 实例读权重分配 注意:此字段可能返回 null,表示取不到有效值。BooleangetReadOnly()Get 是否是只读,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。BooleangetTransSplit()Get 是否开启事务分离 注意:此字段可能返回 null,表示取不到有效值。StringgetUniqSubnetId()Get 私有子网IDStringgetUniqVpcId()Get 私有网络IDStringgetVip()Get IP地址LonggetVPort()Get 端口StringgetWeightMode()Get 权重分配模式; 系统自动分配:"system", 自定义:"custom" 注意:此字段可能返回 null,表示取不到有效值。voidsetAutoAddRo(Boolean AutoAddRo)Set 是否自动添加RO,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。voidsetConnectionPool(Boolean ConnectionPool)Set 是否开启连接池 注意:此字段可能返回 null,表示取不到有效值。voidsetDesc(String Desc)Set 描述 注意:此字段可能返回 null,表示取不到有效值。voidsetFailOver(Boolean FailOver)Set 是否开启故障转移 注意:此字段可能返回 null,表示取不到有效值。voidsetIsKickOut(Boolean IsKickOut)Set 是否开启延迟剔除,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。voidsetMaxDelay(Long MaxDelay)Set 延迟剔除阈值,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。voidsetMinCount(Long MinCount)Set 最小保留数量,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。voidsetProxyAddressId(String ProxyAddressId)Set 代理组地址IDvoidsetProxyAllocation(ProxyAllocation[] ProxyAllocation)Set 实例读权重分配 注意:此字段可能返回 null,表示取不到有效值。voidsetReadOnly(Boolean ReadOnly)Set 是否是只读,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。voidsetTransSplit(Boolean TransSplit)Set 是否开启事务分离 注意:此字段可能返回 null,表示取不到有效值。voidsetUniqSubnetId(String UniqSubnetId)Set 私有子网IDvoidsetUniqVpcId(String UniqVpcId)Set 私有网络IDvoidsetVip(String Vip)Set IP地址voidsetVPort(Long VPort)Set 端口voidsetWeightMode(String WeightMode)Set 权重分配模式; 系统自动分配:"system", 自定义:"custom" 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ProxyAddress
public ProxyAddress()
-
ProxyAddress
public ProxyAddress(ProxyAddress 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.
-
-
Method Detail
-
getProxyAddressId
public String getProxyAddressId()
Get 代理组地址ID- Returns:
- ProxyAddressId 代理组地址ID
-
setProxyAddressId
public void setProxyAddressId(String ProxyAddressId)
Set 代理组地址ID- Parameters:
ProxyAddressId- 代理组地址ID
-
getUniqVpcId
public String getUniqVpcId()
Get 私有网络ID- Returns:
- UniqVpcId 私有网络ID
-
setUniqVpcId
public void setUniqVpcId(String UniqVpcId)
Set 私有网络ID- Parameters:
UniqVpcId- 私有网络ID
-
getUniqSubnetId
public String getUniqSubnetId()
Get 私有子网ID- Returns:
- UniqSubnetId 私有子网ID
-
setUniqSubnetId
public void setUniqSubnetId(String UniqSubnetId)
Set 私有子网ID- Parameters:
UniqSubnetId- 私有子网ID
-
getVip
public String getVip()
Get IP地址- Returns:
- Vip IP地址
-
setVip
public void setVip(String Vip)
Set IP地址- Parameters:
Vip- IP地址
-
getVPort
public Long getVPort()
Get 端口- Returns:
- VPort 端口
-
setVPort
public void setVPort(Long VPort)
Set 端口- Parameters:
VPort- 端口
-
getWeightMode
public String getWeightMode()
Get 权重分配模式; 系统自动分配:"system", 自定义:"custom" 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- WeightMode 权重分配模式; 系统自动分配:"system", 自定义:"custom" 注意:此字段可能返回 null,表示取不到有效值。
-
setWeightMode
public void setWeightMode(String WeightMode)
Set 权重分配模式; 系统自动分配:"system", 自定义:"custom" 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
WeightMode- 权重分配模式; 系统自动分配:"system", 自定义:"custom" 注意:此字段可能返回 null,表示取不到有效值。
-
getIsKickOut
public Boolean getIsKickOut()
Get 是否开启延迟剔除,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- IsKickOut 是否开启延迟剔除,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。
-
setIsKickOut
public void setIsKickOut(Boolean IsKickOut)
Set 是否开启延迟剔除,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
IsKickOut- 是否开启延迟剔除,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。
-
getMinCount
public Long getMinCount()
Get 最小保留数量,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MinCount 最小保留数量,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。
-
setMinCount
public void setMinCount(Long MinCount)
Set 最小保留数量,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MinCount- 最小保留数量,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。
-
getMaxDelay
public Long getMaxDelay()
Get 延迟剔除阈值,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MaxDelay 延迟剔除阈值,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。
-
setMaxDelay
public void setMaxDelay(Long MaxDelay)
Set 延迟剔除阈值,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MaxDelay- 延迟剔除阈值,最小取值:0 注意:此字段可能返回 null,表示取不到有效值。
-
getAutoAddRo
public Boolean getAutoAddRo()
Get 是否自动添加RO,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AutoAddRo 是否自动添加RO,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。
-
setAutoAddRo
public void setAutoAddRo(Boolean AutoAddRo)
Set 是否自动添加RO,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AutoAddRo- 是否自动添加RO,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。
-
getReadOnly
public Boolean getReadOnly()
Get 是否是只读,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ReadOnly 是否是只读,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。
-
setReadOnly
public void setReadOnly(Boolean ReadOnly)
Set 是否是只读,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ReadOnly- 是否是只读,取值:"true" | "false" 注意:此字段可能返回 null,表示取不到有效值。
-
getTransSplit
public Boolean getTransSplit()
Get 是否开启事务分离 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TransSplit 是否开启事务分离 注意:此字段可能返回 null,表示取不到有效值。
-
setTransSplit
public void setTransSplit(Boolean TransSplit)
Set 是否开启事务分离 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TransSplit- 是否开启事务分离 注意:此字段可能返回 null,表示取不到有效值。
-
getFailOver
public Boolean getFailOver()
Get 是否开启故障转移 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- FailOver 是否开启故障转移 注意:此字段可能返回 null,表示取不到有效值。
-
setFailOver
public void setFailOver(Boolean FailOver)
Set 是否开启故障转移 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
FailOver- 是否开启故障转移 注意:此字段可能返回 null,表示取不到有效值。
-
getConnectionPool
public Boolean getConnectionPool()
Get 是否开启连接池 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ConnectionPool 是否开启连接池 注意:此字段可能返回 null,表示取不到有效值。
-
setConnectionPool
public void setConnectionPool(Boolean ConnectionPool)
Set 是否开启连接池 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ConnectionPool- 是否开启连接池 注意:此字段可能返回 null,表示取不到有效值。
-
getDesc
public String getDesc()
Get 描述 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Desc 描述 注意:此字段可能返回 null,表示取不到有效值。
-
setDesc
public void setDesc(String Desc)
Set 描述 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Desc- 描述 注意:此字段可能返回 null,表示取不到有效值。
-
getProxyAllocation
public ProxyAllocation[] getProxyAllocation()
Get 实例读权重分配 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ProxyAllocation 实例读权重分配 注意:此字段可能返回 null,表示取不到有效值。
-
setProxyAllocation
public void setProxyAllocation(ProxyAllocation[] ProxyAllocation)
Set 实例读权重分配 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ProxyAllocation- 实例读权重分配 注意:此字段可能返回 null,表示取不到有效值。
-
-