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 `0`: Disable acceleration; `1`: Enable acceleration.
|
String |
getForwardClientIp()
Get This field is moved to `Rule.ForwardClientIp`.
|
String |
getPlatType()
Get Scheduling mode.
|
String |
getProxyName()
Get Name of the proxy:
Domain name or subdomain name when `ProxyType=hostname`
Instance name when `ProxyType=instance`
|
String |
getProxyType()
Get Specifies how a layer-4 proxy is created.
|
ApplicationProxyRule[] |
getRule()
Get Rule details
|
Long |
getSecurityType()
Get `0`: Disable security protection; `1`: Enable security protection.
|
Boolean |
getSessionPersist()
Get This field is moved to `Rule.SessionPersist`.
|
Long |
getSessionPersistTime()
Get Session persistence duration.
|
String |
getZoneId()
Get Site ID
|
String |
getZoneName()
Get Site name
|
void |
setAccelerateType(Long AccelerateType)
Set `0`: Disable acceleration; `1`: Enable acceleration.
|
void |
setForwardClientIp(String ForwardClientIp)
Set This field is moved to `Rule.ForwardClientIp`.
|
void |
setPlatType(String PlatType)
Set Scheduling mode.
|
void |
setProxyName(String ProxyName)
Set Name of the proxy:
Domain name or subdomain name when `ProxyType=hostname`
Instance name when `ProxyType=instance`
|
void |
setProxyType(String ProxyType)
Set Specifies how a layer-4 proxy is created.
|
void |
setRule(ApplicationProxyRule[] Rule)
Set Rule details
|
void |
setSecurityType(Long SecurityType)
Set `0`: Disable security protection; `1`: Enable security protection.
|
void |
setSessionPersist(Boolean SessionPersist)
Set This field is moved to `Rule.SessionPersist`.
|
void |
setSessionPersistTime(Long SessionPersistTime)
Set Session persistence duration.
|
void |
setZoneId(String ZoneId)
Set Site ID
|
void |
setZoneName(String ZoneName)
Set Site name
|
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
- Site IDpublic String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- Site namepublic String getProxyName()
public void setProxyName(String ProxyName)
ProxyName
- Name of the proxy:
Domain name or subdomain name when `ProxyType=hostname`
Instance name when `ProxyType=instance`public String getPlatType()
public void setPlatType(String PlatType)
PlatType
- Scheduling mode. Values:
`ip`: Anycast IP
`domain`: CNAMEpublic Long getSecurityType()
public void setSecurityType(Long SecurityType)
SecurityType
- `0`: Disable security protection; `1`: Enable security protection.public Long getAccelerateType()
public void setAccelerateType(Long AccelerateType)
AccelerateType
- `0`: Disable acceleration; `1`: Enable acceleration.public String getForwardClientIp()
public void setForwardClientIp(String ForwardClientIp)
ForwardClientIp
- This field is moved to `Rule.ForwardClientIp`.public Boolean getSessionPersist()
public void setSessionPersist(Boolean SessionPersist)
SessionPersist
- This field is moved to `Rule.SessionPersist`.public ApplicationProxyRule[] getRule()
public void setRule(ApplicationProxyRule[] Rule)
Rule
- Rule detailspublic Long getSessionPersistTime()
public void setSessionPersistTime(Long SessionPersistTime)
SessionPersistTime
- Session persistence duration. Value range: 30-3600 (in seconds).public String getProxyType()
public void setProxyType(String ProxyType)
ProxyType
- Specifies how a layer-4 proxy is created.
`hostname`: Create by subdomain name
`instance`: Create by instanceCopyright © 2023. All rights reserved.