public class ApplicationProxy extends AbstractModel
header, skipSign
Constructor and Description |
---|
ApplicationProxy() |
ApplicationProxy(ApplicationProxy 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 |
getHostId()
Get When `ProxyType=hostname`:
`ProxyName` indicates a specified domain name;
`HostId` indicates a unique ID of the domain name.
|
String |
getPlatType()
Get Scheduling mode:
`ip`: Anycast IP
`domain`: CNAME
|
String |
getProxyId()
Get ID of the proxy
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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 list
|
String[] |
getScheduleValue()
Get Scheduling information
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getStatus()
Get Status:
`online`: Enable
`offline`: Disable
`progress`: Deploying
`stopping`: Disabling
`fail`: Deployment/Disabling failed
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getUpdateTime()
Get Update time
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getZoneId()
Get Site ID
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getZoneName()
Get Site name
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setAccelerateType(Long AccelerateType)
Set `0`: Disable acceleration; `1`: Enable acceleration.
|
void |
setForwardClientIp(String ForwardClientIp)
Set This field is moved to `Rule.ForwardClientIp`.
|
void |
setHostId(String HostId)
Set When `ProxyType=hostname`:
`ProxyName` indicates a specified domain name;
`HostId` indicates a unique ID of the domain name.
|
void |
setPlatType(String PlatType)
Set Scheduling mode:
`ip`: Anycast IP
`domain`: CNAME
|
void |
setProxyId(String ProxyId)
Set ID of the proxy
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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 list
|
void |
setScheduleValue(String[] ScheduleValue)
Set Scheduling information
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setStatus(String Status)
Set Status:
`online`: Enable
`offline`: Disable
`progress`: Deploying
`stopping`: Disabling
`fail`: Deployment/Disabling failed
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setUpdateTime(String UpdateTime)
Set Update time
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setZoneId(String ZoneId)
Set Site ID
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setZoneName(String ZoneName)
Set Site name
Note: This field may return `null`, indicating that no valid value can be obtained.
|
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 ApplicationProxy()
public ApplicationProxy(ApplicationProxy source)
public String getProxyId()
public void setProxyId(String ProxyId)
ProxyId
- ID of the proxy
Note: This field may return `null`, indicating that no valid value can be obtained.public 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:
`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 listpublic String getStatus()
public void setStatus(String Status)
Status
- Status:
`online`: Enable
`offline`: Disable
`progress`: Deploying
`stopping`: Disabling
`fail`: Deployment/Disabling failed
Note: This field may return `null`, indicating that no valid value can be obtained.public String[] getScheduleValue()
public void setScheduleValue(String[] ScheduleValue)
ScheduleValue
- Scheduling information
Note: This field may return `null`, indicating that no valid value can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update time
Note: This field may return `null`, indicating that no valid value can be obtained.public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Site ID
Note: This field may return `null`, indicating that no valid value can be obtained.public String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- Site name
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getSessionPersistTime()
public void setSessionPersistTime(Long SessionPersistTime)
SessionPersistTime
- Session persistence duration
Note: This field may return `null`, indicating that no valid value can be obtained.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 instance
Note: This field may return null, indicating that no valid values can be obtained.public String getHostId()
public void setHostId(String HostId)
HostId
- When `ProxyType=hostname`:
`ProxyName` indicates a specified domain name;
`HostId` indicates a unique ID of the domain name.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.