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 Whether to automatically add newly created read-only instances.
|
Boolean |
getConnectionPool()
Get Whether to enable the connection pool.
|
String |
getConnectionPoolType()
Get Connection pool type, which will take effect only when `ConnectionPool` is `true`.
|
String |
getDesc()
Get Description
|
Boolean |
getFailOver()
Get Whether to enable failover.
|
Boolean |
getIsKickOut()
Get Whether to remove delayed read-only instances from the proxy group.
|
Long |
getMaxDelay()
Get The delay threshold.
|
Long |
getMinCount()
Get Least read-only instances.
|
ProxyAllocation[] |
getProxyAllocation()
Get Assignment of read/write weights
|
String |
getProxyGroupId()
Get Proxy group ID
|
Boolean |
getReadOnly()
Get Whether it is read-only.
|
String[] |
getSecurityGroup()
Get Security group
|
Boolean |
getTransSplit()
Get Whether to enable transaction splitting.
|
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.
|
void |
setConnectionPoolType(String ConnectionPoolType)
Set Connection pool type, which will take effect only when `ConnectionPool` is `true`.
|
void |
setDesc(String Desc)
Set Description
|
void |
setFailOver(Boolean FailOver)
Set Whether to enable failover.
|
void |
setIsKickOut(Boolean IsKickOut)
Set Whether to remove delayed read-only instances from the proxy group.
|
void |
setMaxDelay(Long MaxDelay)
Set The delay threshold.
|
void |
setMinCount(Long MinCount)
Set Least read-only instances.
|
void |
setProxyAllocation(ProxyAllocation[] ProxyAllocation)
Set Assignment of read/write weights
|
void |
setProxyGroupId(String ProxyGroupId)
Set Proxy group ID
|
void |
setReadOnly(Boolean ReadOnly)
Set Whether it is read-only.
|
void |
setSecurityGroup(String[] SecurityGroup)
Set Security group
|
void |
setTransSplit(Boolean TransSplit)
Set Whether to enable transaction splitting.
|
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, toJsonString
public CreateCdbProxyAddressRequest()
public CreateCdbProxyAddressRequest(CreateCdbProxyAddressRequest source)
public String getProxyGroupId()
public void setProxyGroupId(String ProxyGroupId)
ProxyGroupId
- Proxy group IDpublic String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode
- Assignment mode of weights. Valid values: `system` (auto-assigned), `custom`.public Boolean getIsKickOut()
public void setIsKickOut(Boolean IsKickOut)
IsKickOut
- Whether to remove delayed read-only instances from the proxy group. Valid values: `true`, `false`.public Long getMinCount()
public void setMinCount(Long MinCount)
MinCount
- Least read-only instances. Minimum value: `0`public Long getMaxDelay()
public void setMaxDelay(Long MaxDelay)
MaxDelay
- The delay threshold. Minimum value: `0`public Boolean getFailOver()
public void setFailOver(Boolean FailOver)
FailOver
- Whether to enable failover. Valid values: `true`, `false`.public Boolean getAutoAddRo()
public void setAutoAddRo(Boolean AutoAddRo)
AutoAddRo
- Whether to automatically add newly created read-only instances. Valid values: `true`, `false`.public Boolean getReadOnly()
public void setReadOnly(Boolean ReadOnly)
ReadOnly
- Whether it is read-only. Valid values: `true`, `false`.public Boolean getTransSplit()
public void setTransSplit(Boolean TransSplit)
TransSplit
- Whether to enable transaction splitting. Valid values: `true`, `false`.public ProxyAllocation[] getProxyAllocation()
public void setProxyAllocation(ProxyAllocation[] ProxyAllocation)
ProxyAllocation
- Assignment of read/write weightspublic String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- VPC IDpublic String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId
- VPC subnet IDpublic Boolean getConnectionPool()
public void setConnectionPool(Boolean ConnectionPool)
ConnectionPool
- Whether to enable the connection pool. Valid values:public String getDesc()
public void setDesc(String Desc)
Desc
- Descriptionpublic String getVip()
public void setVip(String Vip)
Vip
- IP addresspublic Long getVPort()
public void setVPort(Long VPort)
VPort
- Portpublic String[] getSecurityGroup()
public void setSecurityGroup(String[] SecurityGroup)
SecurityGroup
- Security grouppublic String getConnectionPoolType()
public void setConnectionPoolType(String ConnectionPoolType)
ConnectionPoolType
- Connection pool type, which will take effect only when `ConnectionPool` is `true`. Valid values: `transaction` (transaction-level), `connection` (session-level).Copyright © 2024. All rights reserved.