public class TargetHealth extends AbstractModel
| Constructor and Description | 
|---|
| TargetHealth() | 
| TargetHealth(TargetHealth 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 | 
|---|---|
| Boolean | getHealthStatus()Get Current health status. | 
| String | getHealthStatusDetial()Get Detailed information of the current health status. | 
| String | getIP()Get Private IP of the target | 
| Long | getPort()Get Port bound to the target | 
| String | getTargetId()Get Instance ID of the target, such as ins-12345678 | 
| void | setHealthStatus(Boolean HealthStatus)Set Current health status. | 
| void | setHealthStatusDetial(String HealthStatusDetial)Set Detailed information of the current health status. | 
| void | setIP(String IP)Set Private IP of the target | 
| void | setPort(Long Port)Set Port bound to the target | 
| void | setTargetId(String TargetId)Set Instance ID of the target, such as ins-12345678 | 
| 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, toJsonStringpublic TargetHealth()
public TargetHealth(TargetHealth source)
public String getIP()
public void setIP(String IP)
IP - Private IP of the targetpublic Long getPort()
public void setPort(Long Port)
Port - Port bound to the targetpublic Boolean getHealthStatus()
public void setHealthStatus(Boolean HealthStatus)
HealthStatus - Current health status. true: healthy; false: unhealthy.public String getTargetId()
public void setTargetId(String TargetId)
TargetId - Instance ID of the target, such as ins-12345678public String getHealthStatusDetial()
public void setHealthStatusDetial(String HealthStatusDetial)
HealthStatusDetial - Detailed information of the current health status. Alive: healthy; Dead: exceptional; Unknown: check not started/checking/unknown status.Copyright © 2023. All rights reserved.