com.ksc.network.slb.model.HealthCheck Maven / Gradle / Ivy
package com.ksc.network.slb.model;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
* Created by LIUHONGMING on 2017/4/20.
*/
@ToString
@EqualsAndHashCode
public class HealthCheck {
/**
* 监听器的ID
*/
private String ListenerId;
/**
* 健康检查保持的状态,开启(start )、关闭(stop)
*/
private String HealthCheckState;
/**
* 健康检查的ID
*/
private String HealthCheckId;
/**
* 健康阈值
*/
private Integer HealthyThreshold;
/**
* 健康检查时间间隔
*/
private Integer Interval;
/**
* 健康检查超时时间
*/
private Integer Timeout;
/**
* 不健康阈值
*/
private Integer UnhealthyThreshold;
/**
* HTTP类型监听器健康检查的链接,HTTP类型监听器需要填写此参数,TCP类型监听器没有此参数
*/
private String UrlPath;
/**
* 用于重置健康检查的域名,HTTP类型监听器可以填写此参数
*/
private Boolean IsDefaultHostName;
/**
* HTTP类型健康检查的域名,HTTP类型监听器需要填写此参数,TCP类型监听器没有此参数
*/
private String HostName;
public String getListenerId() {
return ListenerId;
}
public void setListenerId(String listenerId) {
ListenerId = listenerId;
}
public String getHealthCheckState() {
return HealthCheckState;
}
public void setHealthCheckState(String healthCheckState) {
HealthCheckState = healthCheckState;
}
public String getHealthCheckId() {
return HealthCheckId;
}
public void setHealthCheckId(String healthCheckId) {
HealthCheckId = healthCheckId;
}
public Integer getHealthyThreshold() {
return HealthyThreshold;
}
public void setHealthyThreshold(Integer healthyThreshold) {
HealthyThreshold = healthyThreshold;
}
public Integer getInterval() {
return Interval;
}
public void setInterval(Integer interval) {
Interval = interval;
}
public Integer getTimeout() {
return Timeout;
}
public void setTimeout(Integer timeout) {
Timeout = timeout;
}
public Integer getUnhealthyThreshold() {
return UnhealthyThreshold;
}
public void setUnhealthyThreshold(Integer unhealthyThreshold) {
UnhealthyThreshold = unhealthyThreshold;
}
public String getUrlPath() {
return UrlPath;
}
public void setUrlPath(String urlPath) {
UrlPath = urlPath;
}
public Boolean getDefaultHostName() {
return IsDefaultHostName;
}
public void setDefaultHostName(Boolean defaultHostName) {
IsDefaultHostName = defaultHostName;
}
public String getHostName() {
return HostName;
}
public void setHostName(String hostName) {
HostName = hostName;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy