public class ProxyAddress extends AbstractModel
header, 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 Whether to automatically add newly created read-only instances. | 
| Boolean | getConnectionPool()Get Whether to enable the connection pool Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getDesc()Get Note:  This field may return null, indicating that no valid values can be obtained. | 
| Boolean | getFailOver()Get Whether to enable failover Note: This field may return null, indicating that no valid values can be obtained. | 
| 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 Read weight assignment for an instance Note: This field may return null, indicating that no valid values can be obtained. | 
| Boolean | getReadOnly()Get Whether it is read-only. | 
| Boolean | getTransSplit()Get Whether to enable transaction splitting Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getUniqSubnetId()Get VPC subnet ID | 
| String | getUniqVpcId()Get VPC ID | 
| String | getVip()Get IP address | 
| Long | getVPort()Get Port | 
| 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 Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setDesc(String Desc)Set Note:  This field may return null, indicating that no valid values can be obtained. | 
| void | setFailOver(Boolean FailOver)Set Whether to enable failover Note: This field may return null, indicating that no valid values can be obtained. | 
| 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 Read weight assignment for an instance Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setReadOnly(Boolean ReadOnly)Set Whether it is read-only. | 
| void | setTransSplit(Boolean TransSplit)Set Whether to enable transaction splitting Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setUniqSubnetId(String UniqSubnetId)Set VPC subnet ID | 
| void | setUniqVpcId(String UniqVpcId)Set VPC ID | 
| void | setVip(String Vip)Set IP address | 
| void | setVPort(Long VPort)Set Port | 
| 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 ProxyAddress()
public ProxyAddress(ProxyAddress source)
public String getProxyAddressId()
public void setProxyAddressId(String ProxyAddressId)
ProxyAddressId - Address ID of the proxy grouppublic String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId - VPC IDpublic String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId - VPC subnet IDpublic String getVip()
public void setVip(String Vip)
Vip - IP addresspublic Long getVPort()
public void setVPort(Long VPort)
VPort - Portpublic String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode - Assignment mode of weights. Valid values: `system` (auto-assigned), `custom`. Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsKickOut()
public void setIsKickOut(Boolean IsKickOut)
IsKickOut - Whether to remove delayed read-only instances from the proxy group Valid values: `true`, `false`. Note: This field may return null, indicating that no valid values can be obtained.public Long getMinCount()
public void setMinCount(Long MinCount)
MinCount - Least read-only instances. Minimum value:  `0`. Note: This field may return null, indicating that no valid values can be obtained.public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay - The delay threshold. Minimum value:  `0`. Note: This field may return null, indicating that no valid values can be obtained.public Boolean getAutoAddRo()
public void setAutoAddRo(Boolean AutoAddRo)
AutoAddRo - Whether to automatically add newly created read-only instances. Valid values: `true`, `false`. Note: This field may return null, indicating that no valid values can be obtained.public Boolean getReadOnly()
public void setReadOnly(Boolean ReadOnly)
ReadOnly - Whether it is read-only. Valid values: `true`, `false`. Note: This field may return null, indicating that no valid values can be obtained.public Boolean getTransSplit()
public void setTransSplit(Boolean TransSplit)
TransSplit - Whether to enable transaction splitting Note: This field may return null, indicating that no valid values can be obtained.public Boolean getFailOver()
public void setFailOver(Boolean FailOver)
FailOver - Whether to enable failover Note: This field may return null, indicating that no valid values can be obtained.public Boolean getConnectionPool()
public void setConnectionPool(Boolean ConnectionPool)
ConnectionPool - Whether to enable the connection pool Note: This field may return null, indicating that no valid values can be obtained.public String getDesc()
public void setDesc(String Desc)
Desc - Note:  This field may return null, indicating that no valid values can be obtained.public ProxyAllocation[] getProxyAllocation()
public void setProxyAllocation(ProxyAllocation[] ProxyAllocation)
ProxyAllocation - Read weight assignment for an instance Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.