public class CreateApplicationProxyRuleRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateApplicationProxyRuleRequest() | 
| CreateApplicationProxyRuleRequest(CreateApplicationProxyRuleRequest 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 | getForwardClientIp()Get Passes the client IP. | 
| String | getOriginType()Get Origin type. | 
| String[] | getOriginValue()Get Origin information:
When `OriginType=custom`, it can include one or more origins in either of the following formats:
IP:Port
Domain name:Port
When `OriginType=origins`, it is an origin group ID. | 
| String[] | getPort()Get Port. | 
| String | getProto()Get Protocol. | 
| String | getProxyId()Get Proxy ID | 
| Boolean | getSessionPersist()Get Specifies whether to enable session persistence | 
| String | getZoneId()Get Site ID | 
| void | setForwardClientIp(String ForwardClientIp)Set Passes the client IP. | 
| void | setOriginType(String OriginType)Set Origin type. | 
| void | setOriginValue(String[] OriginValue)Set Origin information:
When `OriginType=custom`, it can include one or more origins in either of the following formats:
IP:Port
Domain name:Port
When `OriginType=origins`, it is an origin group ID. | 
| void | setPort(String[] Port)Set Port. | 
| void | setProto(String Proto)Set Protocol. | 
| void | setProxyId(String ProxyId)Set Proxy ID | 
| void | setSessionPersist(Boolean SessionPersist)Set Specifies whether to enable session persistence | 
| void | setZoneId(String ZoneId)Set 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, toJsonStringpublic CreateApplicationProxyRuleRequest()
public CreateApplicationProxyRuleRequest(CreateApplicationProxyRuleRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - Site IDpublic String getProxyId()
public void setProxyId(String ProxyId)
ProxyId - Proxy IDpublic String getProto()
public void setProto(String Proto)
Proto - Protocol. Valid values: `TCP` and `UDP`.public String[] getPort()
public void setPort(String[] Port)
Port - Port. Valid values:
`80`: Port 80
`81-90`: Port range 81-90public String getOriginType()
public void setOriginType(String OriginType)
OriginType - Origin type. Valid values:
`custom`: Specified origins
`origins`: Origin grouppublic String[] getOriginValue()
public void setOriginValue(String[] OriginValue)
OriginValue - Origin information:
When `OriginType=custom`, it can include one or more origins in either of the following formats:
IP:Port
Domain name:Port
When `OriginType=origins`, it is an origin group ID.public String getForwardClientIp()
public void setForwardClientIp(String ForwardClientIp)
ForwardClientIp - Passes the client IP. When `Proto=TCP`, valid values:
`TOA`: Pass the client IP via TOA
`PPV1`: Pass the client IP via Proxy Protocol V1
`PPV2`: Pass the client IP via Proxy Protocol V2
`OFF`: Do not pass the client IP.
When `Proto=UDP`, valid values:
`PPV2`: Pass the client IP via Proxy Protocol V2
`OFF`: Do not pass the client IP.public Boolean getSessionPersist()
public void setSessionPersist(Boolean SessionPersist)
SessionPersist - Specifies whether to enable session persistenceCopyright © 2022. All rights reserved.