public class ModifyCDBProxyConnectionPoolRequest extends AbstractModel
Constructor and Description |
---|
ModifyCDBProxyConnectionPoolRequest() |
ModifyCDBProxyConnectionPoolRequest(ModifyCDBProxyConnectionPoolRequest 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 |
getConnectionPoolType()
Get Connection pool type.
|
Boolean |
getOpenConnectionPool()
Get Whether to enable the connection pool.
|
Long |
getPoolConnectionTimeOut()
Get Connection persistence timeout in seconds
|
String |
getProxyGroupId()
Get Database proxy ID
|
void |
setConnectionPoolType(String ConnectionPoolType)
Set Connection pool type.
|
void |
setOpenConnectionPool(Boolean OpenConnectionPool)
Set Whether to enable the connection pool.
|
void |
setPoolConnectionTimeOut(Long PoolConnectionTimeOut)
Set Connection persistence timeout in seconds
|
void |
setProxyGroupId(String ProxyGroupId)
Set Database proxy ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyCDBProxyConnectionPoolRequest()
public ModifyCDBProxyConnectionPoolRequest(ModifyCDBProxyConnectionPoolRequest source)
public String getProxyGroupId()
public void setProxyGroupId(String ProxyGroupId)
ProxyGroupId
- Database proxy IDpublic Boolean getOpenConnectionPool()
public void setOpenConnectionPool(Boolean OpenConnectionPool)
OpenConnectionPool
- Whether to enable the connection pool. Valid values: `true` (enable);
`false` (disable).public String getConnectionPoolType()
public void setConnectionPoolType(String ConnectionPoolType)
ConnectionPoolType
- Connection pool type.
You can use the `DescribeProxyConnectionPoolConf` API to query the connection pool type.public Long getPoolConnectionTimeOut()
public void setPoolConnectionTimeOut(Long PoolConnectionTimeOut)
PoolConnectionTimeOut
- Connection persistence timeout in secondsCopyright © 2023. All rights reserved.