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 The origin type.
|
String[] |
getOriginValue()
Get Origin server information:
When `OriginType=custom`, it indicates one or more origin servers.
|
String[] |
getPort()
Get The origin type.
|
String |
getProto()
Get The protocol.
|
String |
getProxyId()
Get The proxy ID.
|
Boolean |
getSessionPersist()
Get Whether to enable session persistence.
|
String |
getZoneId()
Get The site ID.
|
void |
setForwardClientIp(String ForwardClientIp)
Set Passes the client IP.
|
void |
setOriginType(String OriginType)
Set The origin type.
|
void |
setOriginValue(String[] OriginValue)
Set Origin server information:
When `OriginType=custom`, it indicates one or more origin servers.
|
void |
setPort(String[] Port)
Set The origin type.
|
void |
setProto(String Proto)
Set The protocol.
|
void |
setProxyId(String ProxyId)
Set The proxy ID.
|
void |
setSessionPersist(Boolean SessionPersist)
Set Whether to enable session persistence.
|
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 CreateApplicationProxyRuleRequest()
public CreateApplicationProxyRuleRequest(CreateApplicationProxyRuleRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- The site ID.public String getProxyId()
public void setProxyId(String ProxyId)
ProxyId
- The proxy ID.public String getProto()
public void setProto(String Proto)
Proto
- The protocol. Values:
public String[] getPort()
public void setPort(String[] Port)
Port
- The origin type. Values:
public String getOriginType()
public void setOriginType(String OriginType)
OriginType
- The origin type. Values:
`custom`: Origin server, which is formatted as "IP:Port" or "Domain name:Port"
`origins`: Origin grouppublic String[] getOriginValue()
public void setOriginValue(String[] OriginValue)
OriginValue
- Origin server information:
When `OriginType=custom`, it indicates one or more origin servers. Example:
OriginValue=["8.8.8.8:80","9.9.9.9:80"]
OriginValue=["test.com:80"];
When `OriginType=origins`, it indicates an origin group ID. Example:
OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。public String getForwardClientIp()
public void setForwardClientIp(String ForwardClientIp)
ForwardClientIp
- Passes the client IP. Values:
public Boolean getSessionPersist()
public void setSessionPersist(Boolean SessionPersist)
SessionPersist
- Whether to enable session persistence. Values:
Copyright © 2022. All rights reserved.