public class CreateApplicationProxyRequest extends AbstractModel
Constructor and Description |
---|
CreateApplicationProxyRequest() |
CreateApplicationProxyRequest(CreateApplicationProxyRequest 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 |
---|---|
Long |
getAccelerateType()
Get Whether to enable acceleration.
|
ApplicationProxyRule[] |
getApplicationProxyRules()
Get The rule details.
|
Ipv6 |
getIpv6()
Get The IPv6 access configuration.
|
String |
getPlatType()
Get The scheduling mode.
|
String |
getProxyName()
Get When `ProxyType=hostname`, this field indicates a domain name or subdomain name.
|
String |
getProxyType()
Get The proxy type.
|
Long |
getSecurityType()
Get Whether to enable security protection.
|
Long |
getSessionPersistTime()
Get The session persistence duration.
|
String |
getZoneId()
Get The site ID.
|
void |
setAccelerateType(Long AccelerateType)
Set Whether to enable acceleration.
|
void |
setApplicationProxyRules(ApplicationProxyRule[] ApplicationProxyRules)
Set The rule details.
|
void |
setIpv6(Ipv6 Ipv6)
Set The IPv6 access configuration.
|
void |
setPlatType(String PlatType)
Set The scheduling mode.
|
void |
setProxyName(String ProxyName)
Set When `ProxyType=hostname`, this field indicates a domain name or subdomain name.
|
void |
setProxyType(String ProxyType)
Set The proxy type.
|
void |
setSecurityType(Long SecurityType)
Set Whether to enable security protection.
|
void |
setSessionPersistTime(Long SessionPersistTime)
Set The session persistence duration.
|
void |
setZoneId(String ZoneId)
Set The site 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 CreateApplicationProxyRequest()
public CreateApplicationProxyRequest(CreateApplicationProxyRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- The site ID.public String getProxyName()
public void setProxyName(String ProxyName)
ProxyName
- When `ProxyType=hostname`, this field indicates a domain name or subdomain name.
When `ProxyType=instance`, it indicates a proxy instance.public String getPlatType()
public void setPlatType(String PlatType)
PlatType
- The scheduling mode. Values:
public Long getSecurityType()
public void setSecurityType(Long SecurityType)
SecurityType
- Whether to enable security protection. Values:
public Long getAccelerateType()
public void setAccelerateType(Long AccelerateType)
AccelerateType
- Whether to enable acceleration. Values:
public String getProxyType()
public void setProxyType(String ProxyType)
ProxyType
- The proxy type. Values:
public Long getSessionPersistTime()
public void setSessionPersistTime(Long SessionPersistTime)
SessionPersistTime
- The session persistence duration. Value range: 30-3600 (in seconds).
If not specified, this field uses the default value 600.public Ipv6 getIpv6()
public void setIpv6(Ipv6 Ipv6)
Ipv6
- The IPv6 access configuration.
If this field is not specified, IPv6 access will be disabled.public ApplicationProxyRule[] getApplicationProxyRules()
public void setApplicationProxyRules(ApplicationProxyRule[] ApplicationProxyRules)
ApplicationProxyRules
- The rule details.
If this field is not specified, an application proxy rule will not be created.Copyright © 2023. All rights reserved.