public class RuleInfo extends AbstractModel
Constructor and Description |
---|
RuleInfo() |
Modifier and Type | Method and Description |
---|---|
Long |
getBindStatus()
Get Origin server service status.
|
RuleCheckParams |
getCheckParams()
Get Health check parameters
|
String |
getDomain()
Get Rule domain name
|
String |
getForwardHost()
Get The `host` carried in the request forwarded from the connection to the origin server.
|
Long |
getHealthCheck()
Get Whether health check is enabled.
|
String |
getListenerId()
Get Listener information
|
String |
getPath()
Get Rule path
|
BindRealServer[] |
getRealServerSet()
Get Bound origin server information
|
String |
getRealServerType()
Get Origin server type
|
String |
getRuleId()
Get Rule information
|
Long |
getRuleStatus()
Get Rule status.
|
String |
getScheduler()
Get Forwarding policy of the origin server
|
void |
setBindStatus(Long BindStatus)
Set Origin server service status.
|
void |
setCheckParams(RuleCheckParams CheckParams)
Set Health check parameters
|
void |
setDomain(String Domain)
Set Rule domain name
|
void |
setForwardHost(String ForwardHost)
Set The `host` carried in the request forwarded from the connection to the origin server.
|
void |
setHealthCheck(Long HealthCheck)
Set Whether health check is enabled.
|
void |
setListenerId(String ListenerId)
Set Listener information
|
void |
setPath(String Path)
Set Rule path
|
void |
setRealServerSet(BindRealServer[] RealServerSet)
Set Bound origin server information
|
void |
setRealServerType(String RealServerType)
Set Origin server type
|
void |
setRuleId(String RuleId)
Set Rule information
|
void |
setRuleStatus(Long RuleStatus)
Set Rule status.
|
void |
setScheduler(String Scheduler)
Set Forwarding policy of the origin server
|
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 getRuleId()
public void setRuleId(String RuleId)
RuleId
- Rule informationpublic String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- Listener informationpublic String getDomain()
public void setDomain(String Domain)
Domain
- Rule domain namepublic String getPath()
public void setPath(String Path)
Path
- Rule pathpublic String getRealServerType()
public void setRealServerType(String RealServerType)
RealServerType
- Origin server typepublic String getScheduler()
public void setScheduler(String Scheduler)
Scheduler
- Forwarding policy of the origin serverpublic Long getHealthCheck()
public void setHealthCheck(Long HealthCheck)
HealthCheck
- Whether health check is enabled. 1: enabled, 0: disabledpublic Long getRuleStatus()
public void setRuleStatus(Long RuleStatus)
RuleStatus
- Rule status. 0: running, 1: creating, 2: terminating, 3: binding/unbinding origin server, 4: updating configurationpublic RuleCheckParams getCheckParams()
public void setCheckParams(RuleCheckParams CheckParams)
CheckParams
- Health check parameterspublic BindRealServer[] getRealServerSet()
public void setRealServerSet(BindRealServer[] RealServerSet)
RealServerSet
- Bound origin server informationpublic Long getBindStatus()
public void setBindStatus(Long BindStatus)
BindStatus
- Origin server service status. 0: exceptional, 1: normal
If health check is not enabled, this status will always be normal.
As long as one origin server is exceptional, this status will be exceptional. Please view `RealServerSet` for the status of specific origin servers.public String getForwardHost()
public void setForwardHost(String ForwardHost)
ForwardHost
- The `host` carried in the request forwarded from the connection to the origin server. `default` indicates directly forwarding the received 'host'.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.