public class CreateProxyRequest extends AbstractModel
Constructor and Description |
---|
CreateProxyRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessRegion()
Get Access region.
|
Long |
getBandwidth()
Get Connection bandwidth cap.
|
Long |
getBillingType()
Get Billing mode (0: bill-by-bandwidth, 1: bill-by-traffic.
|
String |
getClientToken()
Get A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request.
|
String |
getClonedProxyId()
Get ID of the replicated connection.
|
Long |
getConcurrent()
Get Connection concurrence cap, which indicates the maximum number of simultaneous online connections.
|
String |
getGroupId()
Get Connection group ID.
|
Long |
getProjectId()
Get Project ID of connection.
|
String |
getProxyName()
Get Connection name.
|
String |
getRealServerRegion()
Get Origin server region.
|
TagPair[] |
getTagSet()
Get List of tags to be added for connection.
|
void |
setAccessRegion(String AccessRegion)
Set Access region.
|
void |
setBandwidth(Long Bandwidth)
Set Connection bandwidth cap.
|
void |
setBillingType(Long BillingType)
Set Billing mode (0: bill-by-bandwidth, 1: bill-by-traffic.
|
void |
setClientToken(String ClientToken)
Set A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request.
|
void |
setClonedProxyId(String ClonedProxyId)
Set ID of the replicated connection.
|
void |
setConcurrent(Long Concurrent)
Set Connection concurrence cap, which indicates the maximum number of simultaneous online connections.
|
void |
setGroupId(String GroupId)
Set Connection group ID.
|
void |
setProjectId(Long ProjectId)
Set Project ID of connection.
|
void |
setProxyName(String ProxyName)
Set Connection name.
|
void |
setRealServerRegion(String RealServerRegion)
Set Origin server region.
|
void |
setTagSet(TagPair[] TagSet)
Set List of tags to be added for connection.
|
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 Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID of connection.public String getProxyName()
public void setProxyName(String ProxyName)
ProxyName
- Connection name.public String getAccessRegion()
public void setAccessRegion(String AccessRegion)
AccessRegion
- Access region.public Long getBandwidth()
public void setBandwidth(Long Bandwidth)
Bandwidth
- Connection bandwidth cap. Unit: Mbps.public Long getConcurrent()
public void setConcurrent(Long Concurrent)
Concurrent
- Connection concurrence cap, which indicates the maximum number of simultaneous online connections. Unit: 10,000 connections.public String getRealServerRegion()
public void setRealServerRegion(String RealServerRegion)
RealServerRegion
- Origin server region. If GroupId exists, the origin server region is the one of connection group, and this field is not required. If GroupId does not exist, this field is reuqired.public String getClientToken()
public void setClientToken(String ClientToken)
ClientToken
- A string used to ensure the idempotency of the request, which is generated by the user and must be unique to each request. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
For more information, please see How to Ensure Idempotence.public String getGroupId()
public void setGroupId(String GroupId)
GroupId
- Connection group ID. This parameter is required when the connection is created in the connection group. Otherwise, this field is ignored.public TagPair[] getTagSet()
public void setTagSet(TagPair[] TagSet)
TagSet
- List of tags to be added for connection.public String getClonedProxyId()
public void setClonedProxyId(String ClonedProxyId)
ClonedProxyId
- ID of the replicated connection. Only a running connection can be replicated.
The connection is to be replicated if this parameter is set.public Long getBillingType()
public void setBillingType(Long BillingType)
BillingType
- Billing mode (0: bill-by-bandwidth, 1: bill-by-traffic. Default value: bill-by-bandwidth)Copyright © 2020. All rights reserved.