public class ProxyAddress extends AbstractModel
skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoAddRo()
Get 是否自动添加RO,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getConnectionPool()
Get 是否开启连接池
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getDesc()
Get 描述
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getFailOver()
Get 是否开启故障转移
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getIsKickOut()
Get 是否开启延迟剔除,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMaxDelay()
Get 延迟剔除阈值,最小取值:0
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getMinCount()
Get 最小保留数量,最小取值:0
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getProxyAddressId()
Get 代理组地址ID
|
ProxyAllocation[] |
getProxyAllocation()
Get 实例读权重分配
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getReadOnly()
Get 是否是只读,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getTransSplit()
Get 是否开启事务分离
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getUniqSubnetId()
Get 私有子网ID
|
String |
getUniqVpcId()
Get 私有网络ID
|
String |
getVip()
Get IP地址
|
Long |
getVPort()
Get 端口
|
String |
getWeightMode()
Get 权重分配模式;
系统自动分配:"system", 自定义:"custom"
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAutoAddRo(Boolean AutoAddRo)
Set 是否自动添加RO,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setConnectionPool(Boolean ConnectionPool)
Set 是否开启连接池
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setDesc(String Desc)
Set 描述
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFailOver(Boolean FailOver)
Set 是否开启故障转移
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setIsKickOut(Boolean IsKickOut)
Set 是否开启延迟剔除,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMaxDelay(Long MaxDelay)
Set 延迟剔除阈值,最小取值:0
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMinCount(Long MinCount)
Set 最小保留数量,最小取值:0
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setProxyAddressId(String ProxyAddressId)
Set 代理组地址ID
|
void |
setProxyAllocation(ProxyAllocation[] ProxyAllocation)
Set 实例读权重分配
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setReadOnly(Boolean ReadOnly)
Set 是否是只读,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTransSplit(Boolean TransSplit)
Set 是否开启事务分离
注意:此字段可能返回 null,表示取不到有效值。
|
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"
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ProxyAddress()
public ProxyAddress(ProxyAddress source)
public String getProxyAddressId()
public void setProxyAddressId(String ProxyAddressId)
ProxyAddressId
- 代理组地址IDpublic String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- 私有网络IDpublic String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId
- 私有子网IDpublic String getVip()
public void setVip(String Vip)
Vip
- IP地址public Long getVPort()
public void setVPort(Long VPort)
VPort
- 端口public String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode
- 权重分配模式;
系统自动分配:"system", 自定义:"custom"
注意:此字段可能返回 null,表示取不到有效值。public Boolean getIsKickOut()
public void setIsKickOut(Boolean IsKickOut)
IsKickOut
- 是否开启延迟剔除,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。public Long getMinCount()
public void setMinCount(Long MinCount)
MinCount
- 最小保留数量,最小取值:0
注意:此字段可能返回 null,表示取不到有效值。public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay
- 延迟剔除阈值,最小取值:0
注意:此字段可能返回 null,表示取不到有效值。public Boolean getAutoAddRo()
public void setAutoAddRo(Boolean AutoAddRo)
AutoAddRo
- 是否自动添加RO,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。public Boolean getReadOnly()
public void setReadOnly(Boolean ReadOnly)
ReadOnly
- 是否是只读,取值:"true" | "false"
注意:此字段可能返回 null,表示取不到有效值。public Boolean getTransSplit()
public void setTransSplit(Boolean TransSplit)
TransSplit
- 是否开启事务分离
注意:此字段可能返回 null,表示取不到有效值。public Boolean getFailOver()
public void setFailOver(Boolean FailOver)
FailOver
- 是否开启故障转移
注意:此字段可能返回 null,表示取不到有效值。public Boolean getConnectionPool()
public void setConnectionPool(Boolean ConnectionPool)
ConnectionPool
- 是否开启连接池
注意:此字段可能返回 null,表示取不到有效值。public String getDesc()
public void setDesc(String Desc)
Desc
- 描述
注意:此字段可能返回 null,表示取不到有效值。public ProxyAllocation[] getProxyAllocation()
public void setProxyAllocation(ProxyAllocation[] ProxyAllocation)
ProxyAllocation
- 实例读权重分配
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.