public class CreateProxyRequest extends AbstractModel
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 |
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 unique string supplied by the client to ensure that the request is idempotent.
|
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 |
getHttp3Supported()
Get (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
|
String |
getIPAddressVersion()
Get IP version.
|
String |
getNetworkType()
Get Network type.
|
String |
getPackageType()
Get Package type of connection groups.
|
Long |
getProjectId()
Get Project ID of connection.
|
String |
getProxyName()
Get Name of the connection
|
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 unique string supplied by the client to ensure that the request is idempotent.
|
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 |
setHttp3Supported(Long Http3Supported)
Set (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.
|
void |
setIPAddressVersion(String IPAddressVersion)
Set IP version.
|
void |
setNetworkType(String NetworkType)
Set Network type.
|
void |
setPackageType(String PackageType)
Set Package type of connection groups.
|
void |
setProjectId(Long ProjectId)
Set Project ID of connection.
|
void |
setProxyName(String ProxyName)
Set Name of the connection
|
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 CreateProxyRequest()
public CreateProxyRequest(CreateProxyRequest source)
public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID of connection.public String getProxyName()
public void setProxyName(String ProxyName)
ProxyName
- Name of the connectionpublic 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 unique string supplied by the client to ensure that the request is idempotent. Its maximum length is 64 ASCII characters. If this parameter is not specified, the idem-potency 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)public String getIPAddressVersion()
public void setIPAddressVersion(String IPAddressVersion)
IPAddressVersion
- IP version. Valid values: `IPv4` (default), `IPv6`.public String getNetworkType()
public void setNetworkType(String NetworkType)
NetworkType
- Network type. `normal`: general BGP; `cn2`: dedicated BGP; `triple`: Non-BGP (provided by the top 3 ISPs in the Chinese mainland).public String getPackageType()
public void setPackageType(String PackageType)
PackageType
- Package type of connection groups. Valid values: `Thunder` (general), `Accelerator` (specific for games), and `CrossBorder` (cross-MLC-border connection).public Long getHttp3Supported()
public void setHttp3Supported(Long Http3Supported)
Http3Supported
- (Disused) HTTP3.0 is supported by default when `IPAddressVersion` is `IPv4`.Copyright © 2023. All rights reserved.