public class CreateRuleRequest extends AbstractModel
Constructor and Description |
---|
CreateRuleRequest() |
Modifier and Type | Method and Description |
---|---|
RuleCheckParams |
getCheckParams()
Get Parameters related to origin server health check
|
String |
getDomain()
Get Domain name of the forwarding rule
|
String |
getForwardHost()
Get Remote host to which the acceleration connection forwards.
|
String |
getForwardProtocol()
Get Protocol types of the forwarding from acceleration connection to origin server, which supports HTTP or HTTPS.
|
Long |
getHealthCheck()
Get Whether the health check is enabled for rules.
|
String |
getListenerId()
Get Layer-7 listener ID
|
String |
getPath()
Get Path of the forwarding rule
|
String |
getRealServerType()
Get The origin server type of the forwarding rule, which supports IP and DOMAIN types.
|
String |
getScheduler()
Get Forwarding rules of origin server, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).
|
void |
setCheckParams(RuleCheckParams CheckParams)
Set Parameters related to origin server health check
|
void |
setDomain(String Domain)
Set Domain name of the forwarding rule
|
void |
setForwardHost(String ForwardHost)
Set Remote host to which the acceleration connection forwards.
|
void |
setForwardProtocol(String ForwardProtocol)
Set Protocol types of the forwarding from acceleration connection to origin server, which supports HTTP or HTTPS.
|
void |
setHealthCheck(Long HealthCheck)
Set Whether the health check is enabled for rules.
|
void |
setListenerId(String ListenerId)
Set Layer-7 listener ID
|
void |
setPath(String Path)
Set Path of the forwarding rule
|
void |
setRealServerType(String RealServerType)
Set The origin server type of the forwarding rule, which supports IP and DOMAIN types.
|
void |
setScheduler(String Scheduler)
Set Forwarding rules of origin server, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).
|
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 String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- Layer-7 listener IDpublic String getDomain()
public void setDomain(String Domain)
Domain
- Domain name of the forwarding rulepublic String getPath()
public void setPath(String Path)
Path
- Path of the forwarding rulepublic String getRealServerType()
public void setRealServerType(String RealServerType)
RealServerType
- The origin server type of the forwarding rule, which supports IP and DOMAIN types.public String getScheduler()
public void setScheduler(String Scheduler)
Scheduler
- Forwarding rules of origin server, which supports round robin (rr), weighted round robin (wrr), and least connections (lc).public Long getHealthCheck()
public void setHealthCheck(Long HealthCheck)
HealthCheck
- Whether the health check is enabled for rules. 1: enabled; 0: disabled.public RuleCheckParams getCheckParams()
public void setCheckParams(RuleCheckParams CheckParams)
CheckParams
- Parameters related to origin server health checkpublic String getForwardProtocol()
public void setForwardProtocol(String ForwardProtocol)
ForwardProtocol
- Protocol types of the forwarding from acceleration connection to origin server, which supports HTTP or HTTPS.
If this field is not passed in, it indicates that the ForwardProtocol of the corresponding listener will be used.public String getForwardHost()
public void setForwardHost(String ForwardHost)
ForwardHost
- Remote host to which the acceleration connection forwards. If this parameter is not specified, the default host will be used, i.e., the host with which the client initiates HTTP requests.Copyright © 2020. All rights reserved.