public class TargetHealth extends AbstractModel
header, skipSign
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 |
getHealthStatusDetail()
Get Detailed information about the current health status.
|
String |
getHealthStatusDetial()
Deprecated.
|
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 |
setHealthStatusDetail(String HealthStatusDetail)
Set Detailed information about the current health status.
|
void |
setHealthStatusDetial(String HealthStatusDetial)
Deprecated.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public 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 getHealthStatusDetail()
public void setHealthStatusDetail(String HealthStatusDetail)
HealthStatusDetail
- Detailed information about the current health status. Alive: healthy; Dead: exceptional; Unknown: check not started/checking/unknown status.@Deprecated public String getHealthStatusDetial()
@Deprecated public void setHealthStatusDetial(String HealthStatusDetial)
HealthStatusDetial
- (**This parameter will be disused soon. Please use `HealthStatusDetail` instead.**) Details of the current health status. Values: `Alive` (healthy), `Dead` (abnormal), `Unknown` (Health check not started/checking/unknown status)Copyright © 2024. All rights reserved.