public class CreateProxyEndPointRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateProxyEndPointRequest() |
CreateProxyEndPointRequest(CreateProxyEndPointRequest 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 |
getAccessMode()
Get Connection mode.
|
String |
getAutoAddRo()
Get Whether to automatically add read-only instance.
|
String |
getClusterId()
Get Cluster ID
|
Long |
getConnectionPoolTimeOut()
Get Connection pool threshold in seconds
|
String |
getConnectionPoolType()
Get Connection pool type.
|
Long |
getConsistencyTimeOut()
Get Consistency timeout period
|
String |
getConsistencyType()
Get Consistency type.
|
String |
getDescription()
Get Description
|
String |
getFailOver()
Get Whether to enable failover
|
ProxyInstanceWeight[] |
getInstanceWeights()
Get Instance weight
|
String |
getOpenConnectionPool()
Get Whether to enable connection pool.
|
String |
getRwType()
Get Read-write attribute.
|
String[] |
getSecurityGroupIds()
Get Array of security group IDs
|
Boolean |
getTransSplit()
Get Transaction split
|
String |
getUniqueSubnetId()
Get VPCe 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.
|
String |
getVip()
Get VIP information
|
String |
getWeightMode()
Get Weight mode.
|
void |
setAccessMode(String AccessMode)
Set Connection mode.
|
void |
setAutoAddRo(String AutoAddRo)
Set Whether to automatically add read-only instance.
|
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 |
setConsistencyTimeOut(Long ConsistencyTimeOut)
Set Consistency timeout period
|
void |
setConsistencyType(String ConsistencyType)
Set Consistency type.
|
void |
setDescription(String Description)
Set Description
|
void |
setFailOver(String FailOver)
Set Whether to enable failover
|
void |
setInstanceWeights(ProxyInstanceWeight[] InstanceWeights)
Set Instance weight
|
void |
setOpenConnectionPool(String OpenConnectionPool)
Set Whether to enable connection pool.
|
void |
setRwType(String RwType)
Set Read-write attribute.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Array of security group IDs
|
void |
setTransSplit(Boolean TransSplit)
Set Transaction split
|
void |
setUniqueSubnetId(String UniqueSubnetId)
Set VPCe 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 |
setVip(String Vip)
Set VIP information
|
void |
setWeightMode(String WeightMode)
Set Weight mode.
|
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 CreateProxyEndPointRequest()
public CreateProxyEndPointRequest(CreateProxyEndPointRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic 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
- VPCe subnet ID, which is the same as that of the cluster by default.public 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 String getVip()
public void setVip(String Vip)
Vip
- VIP informationpublic String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode
- Weight mode.
Valid values: `system` (system-assigned), `custom` (custom).public String getAutoAddRo()
public void setAutoAddRo(String AutoAddRo)
AutoAddRo
- Whether to automatically add read-only instance. Valid value: `yes`, `no`.public String getFailOver()
public void setFailOver(String FailOver)
FailOver
- Whether to enable failoverpublic String getConsistencyType()
public void setConsistencyType(String ConsistencyType)
ConsistencyType
- Consistency type. Valid values:
`eventual`, `global`, `session`.public String getRwType()
public void setRwType(String RwType)
RwType
- Read-write attribute. Valid values:
`READWRITE`, `READONLY`.public Long getConsistencyTimeOut()
public void setConsistencyTimeOut(Long ConsistencyTimeOut)
ConsistencyTimeOut
- Consistency timeout periodpublic Boolean getTransSplit()
public void setTransSplit(Boolean TransSplit)
TransSplit
- Transaction splitpublic String getAccessMode()
public void setAccessMode(String AccessMode)
AccessMode
- Connection mode. Valid values:
`nearby`, `balance`.public ProxyInstanceWeight[] getInstanceWeights()
public void setInstanceWeights(ProxyInstanceWeight[] InstanceWeights)
InstanceWeights
- Instance weightCopyright © 2024. All rights reserved.