public class L7RulesLocation extends AbstractModel
header, skipSign
Constructor and Description |
---|
L7RulesLocation() |
L7RulesLocation(L7RulesLocation 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 |
getAddTimestamp()
Get 创建时间戳。
|
String |
getBalanceMode()
Get 均衡方式。
|
Long |
getHealthNum()
Get 健康检查健康阈值。
|
Long |
getHealthSwitch()
Get 是否开启健康检查。
|
String |
getHttpCheckDomain()
Get 健康检查检查域名。
|
String |
getHttpCheckPath()
Get 健康检查检查路径。
|
Long[] |
getHttpCodes()
Get 健康检查中认为健康的HTTP返回码的组合。可选值为1~5的集合,1表示HTTP返回码为1xx认为健康。2表示HTTP返回码为2xx认为健康。3表示HTTP返回码为3xx认为健康。4表示HTTP返回码为4xx认为健康。5表示HTTP返回码为5xx认为健康。
|
Long |
getIntervalTime()
Get 健康检查检查间隔时间。
|
String |
getLocationId()
Get 转发路径实例ID。
|
Long |
getSessionExpire()
Get 会话保持时间。
|
Long |
getStatus()
Get 转发路径当前状态(0代表创建中,1代表正常运行,2代表创建失败,3代表删除中,4代表删除失败)。
|
Long |
getUnhealthNum()
Get 健康检查不健康阈值。
|
String |
getUrl()
Get 转发路径。
|
void |
setAddTimestamp(String AddTimestamp)
Set 创建时间戳。
|
void |
setBalanceMode(String BalanceMode)
Set 均衡方式。
|
void |
setHealthNum(Long HealthNum)
Set 健康检查健康阈值。
|
void |
setHealthSwitch(Long HealthSwitch)
Set 是否开启健康检查。
|
void |
setHttpCheckDomain(String HttpCheckDomain)
Set 健康检查检查域名。
|
void |
setHttpCheckPath(String HttpCheckPath)
Set 健康检查检查路径。
|
void |
setHttpCodes(Long[] HttpCodes)
Set 健康检查中认为健康的HTTP返回码的组合。可选值为1~5的集合,1表示HTTP返回码为1xx认为健康。2表示HTTP返回码为2xx认为健康。3表示HTTP返回码为3xx认为健康。4表示HTTP返回码为4xx认为健康。5表示HTTP返回码为5xx认为健康。
|
void |
setIntervalTime(Long IntervalTime)
Set 健康检查检查间隔时间。
|
void |
setLocationId(String LocationId)
Set 转发路径实例ID。
|
void |
setSessionExpire(Long SessionExpire)
Set 会话保持时间。
|
void |
setStatus(Long Status)
Set 转发路径当前状态(0代表创建中,1代表正常运行,2代表创建失败,3代表删除中,4代表删除失败)。
|
void |
setUnhealthNum(Long UnhealthNum)
Set 健康检查不健康阈值。
|
void |
setUrl(String Url)
Set 转发路径。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public L7RulesLocation()
public L7RulesLocation(L7RulesLocation source)
public String getUrl()
public void setUrl(String Url)
Url
- 转发路径。public String getLocationId()
public void setLocationId(String LocationId)
LocationId
- 转发路径实例ID。public Long getSessionExpire()
public void setSessionExpire(Long SessionExpire)
SessionExpire
- 会话保持时间。public Long getHealthSwitch()
public void setHealthSwitch(Long HealthSwitch)
HealthSwitch
- 是否开启健康检查。public String getHttpCheckPath()
public void setHttpCheckPath(String HttpCheckPath)
HttpCheckPath
- 健康检查检查路径。public String getHttpCheckDomain()
public void setHttpCheckDomain(String HttpCheckDomain)
HttpCheckDomain
- 健康检查检查域名。public Long getIntervalTime()
public void setIntervalTime(Long IntervalTime)
IntervalTime
- 健康检查检查间隔时间。public Long getHealthNum()
public void setHealthNum(Long HealthNum)
HealthNum
- 健康检查健康阈值。public Long getUnhealthNum()
public void setUnhealthNum(Long UnhealthNum)
UnhealthNum
- 健康检查不健康阈值。public Long[] getHttpCodes()
public void setHttpCodes(Long[] HttpCodes)
HttpCodes
- 健康检查中认为健康的HTTP返回码的组合。可选值为1~5的集合,1表示HTTP返回码为1xx认为健康。2表示HTTP返回码为2xx认为健康。3表示HTTP返回码为3xx认为健康。4表示HTTP返回码为4xx认为健康。5表示HTTP返回码为5xx认为健康。public String getBalanceMode()
public void setBalanceMode(String BalanceMode)
BalanceMode
- 均衡方式。public Long getStatus()
public void setStatus(Long Status)
Status
- 转发路径当前状态(0代表创建中,1代表正常运行,2代表创建失败,3代表删除中,4代表删除失败)。public String getAddTimestamp()
public void setAddTimestamp(String AddTimestamp)
AddTimestamp
- 创建时间戳。Copyright © 2024. All rights reserved.