public class CreateProxyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateProxyRequest() |
CreateProxyRequest(CreateProxyRequest 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 |
---|---|
String |
getClusterId()
Get Cluster ID
|
Long |
getConnectionPoolTimeOut()
Get Connection pool threshold in seconds
|
String |
getConnectionPoolType()
Get Connection pool type.
|
Long |
getCpu()
Get Number of CPU cores
|
String |
getDescription()
Get Description
|
Long |
getMem()
Get Memory
|
String |
getOpenConnectionPool()
Get Whether to enable connection pool.
|
Long |
getProxyCount()
Get Number of nodes in the proxy group
|
ProxyZone[] |
getProxyZones()
Get Database node information
|
String[] |
getSecurityGroupIds()
Get Array of security group IDs
|
String |
getUniqueSubnetId()
Get VPC subnet ID, which is the same as that of the cluster by default.
|
String |
getUniqueVpcId()
Get VPC ID, which is the same as that of the cluster by defaultu200d.
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setConnectionPoolTimeOut(Long ConnectionPoolTimeOut)
Set Connection pool threshold in seconds
|
void |
setConnectionPoolType(String ConnectionPoolType)
Set Connection pool type.
|
void |
setCpu(Long Cpu)
Set Number of CPU cores
|
void |
setDescription(String Description)
Set Description
|
void |
setMem(Long Mem)
Set Memory
|
void |
setOpenConnectionPool(String OpenConnectionPool)
Set Whether to enable connection pool.
|
void |
setProxyCount(Long ProxyCount)
Set Number of nodes in the proxy group
|
void |
setProxyZones(ProxyZone[] ProxyZones)
Set Database node information
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Array of security group IDs
|
void |
setUniqueSubnetId(String UniqueSubnetId)
Set VPC subnet ID, which is the same as that of the cluster by default.
|
void |
setUniqueVpcId(String UniqueVpcId)
Set VPC ID, which is the same as that of the cluster by defaultu200d.
|
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 CreateProxyRequest()
public CreateProxyRequest(CreateProxyRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Number of CPU corespublic Long getMem()
public void setMem(Long Mem)
Mem
- Memorypublic String getUniqueVpcId()
public void setUniqueVpcId(String UniqueVpcId)
UniqueVpcId
- VPC ID, which is the same as that of the cluster by defaultu200d.public String getUniqueSubnetId()
public void setUniqueSubnetId(String UniqueSubnetId)
UniqueSubnetId
- VPC subnet ID, which is the same as that of the cluster by default.public Long getProxyCount()
public void setProxyCount(Long ProxyCount)
ProxyCount
- Number of nodes in the proxy grouppublic String getConnectionPoolType()
public void setConnectionPoolType(String ConnectionPoolType)
ConnectionPoolType
- Connection pool type. Valid value: `SessionConnectionPool` (session-level connection pool)public String getOpenConnectionPool()
public void setOpenConnectionPool(String OpenConnectionPool)
OpenConnectionPool
- Whether to enable connection pool. Valid value: `yes` (enable), `no` u200d(disable).public Long getConnectionPoolTimeOut()
public void setConnectionPoolTimeOut(Long ConnectionPoolTimeOut)
ConnectionPoolTimeOut
- Connection pool threshold in secondspublic String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Array of security group IDspublic String getDescription()
public void setDescription(String Description)
Description
- Descriptionpublic ProxyZone[] getProxyZones()
public void setProxyZones(ProxyZone[] ProxyZones)
ProxyZones
- Database node informationCopyright © 2024. All rights reserved.