public class TargetHealth extends AbstractModel
Constructor and Description |
---|
TargetHealth() |
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, toJsonString
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 © 2020. All rights reserved.