Class ClassicalHealth
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.clb.v20180317.models.ClassicalHealth
-
public class ClassicalHealth extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ClassicalHealth()ClassicalHealth(ClassicalHealth 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetHealthStatus()Get 健康检查结果,1 表示健康,0 表示不健康StringgetIP()Get 后端服务的内网 IPLonggetListenerPort()Get 负载均衡的监听端口LonggetPort()Get 后端服务的端口StringgetProtocol()Get 转发协议voidsetHealthStatus(Long HealthStatus)Set 健康检查结果,1 表示健康,0 表示不健康voidsetIP(String IP)Set 后端服务的内网 IPvoidsetListenerPort(Long ListenerPort)Set 负载均衡的监听端口voidsetPort(Long Port)Set 后端服务的端口voidsetProtocol(String Protocol)Set 转发协议voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ClassicalHealth
public ClassicalHealth()
-
ClassicalHealth
public ClassicalHealth(ClassicalHealth 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.
-
-
Method Detail
-
getIP
public String getIP()
Get 后端服务的内网 IP- Returns:
- IP 后端服务的内网 IP
-
setIP
public void setIP(String IP)
Set 后端服务的内网 IP- Parameters:
IP- 后端服务的内网 IP
-
getPort
public Long getPort()
Get 后端服务的端口- Returns:
- Port 后端服务的端口
-
setPort
public void setPort(Long Port)
Set 后端服务的端口- Parameters:
Port- 后端服务的端口
-
getListenerPort
public Long getListenerPort()
Get 负载均衡的监听端口- Returns:
- ListenerPort 负载均衡的监听端口
-
setListenerPort
public void setListenerPort(Long ListenerPort)
Set 负载均衡的监听端口- Parameters:
ListenerPort- 负载均衡的监听端口
-
getProtocol
public String getProtocol()
Get 转发协议- Returns:
- Protocol 转发协议
-
setProtocol
public void setProtocol(String Protocol)
Set 转发协议- Parameters:
Protocol- 转发协议
-
getHealthStatus
public Long getHealthStatus()
Get 健康检查结果,1 表示健康,0 表示不健康- Returns:
- HealthStatus 健康检查结果,1 表示健康,0 表示不健康
-
setHealthStatus
public void setHealthStatus(Long HealthStatus)
Set 健康检查结果,1 表示健康,0 表示不健康- Parameters:
HealthStatus- 健康检查结果,1 表示健康,0 表示不健康
-
-