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 of the current health status. 
 | 
String | 
getIP()
Get Private IP of the target
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
Long | 
getPort()
Get Port bound to the target
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
String | 
getTargetId()
Get Instance ID of the target
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setHealthStatus(Boolean HealthStatus)
Set Current health status. 
 | 
void | 
setHealthStatusDetail(String HealthStatusDetail)
Set Detailed information of the current health status. 
 | 
void | 
setIP(String IP)
Set Private IP of the target
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setPort(Long Port)
Set Port bound to the target
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setTargetId(String TargetId)
Set Instance ID of the target
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TargetHealth()
public TargetHealth(TargetHealth source)
public String getIP()
public void setIP(String IP)
IP - Private IP of the target
Note: this field may return null, indicating that no valid values can be obtained.public Long getPort()
public void setPort(Long Port)
Port - Port bound to the target
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getHealthStatus()
public void setHealthStatus(Boolean HealthStatus)
HealthStatus - Current health status. Valid values: true: healthy; false: unhealthy (e.g., check not started, checking, or exceptional status). CLB instance will route traffic to only healthy real servers whose weights are greater than 0.
Note: this field may return null, indicating that no valid values can be obtained.public String getTargetId()
public void setTargetId(String TargetId)
TargetId - Instance ID of the target
Note: this field may return null, indicating that no valid values can be obtained.public String getHealthStatusDetail()
public void setHealthStatusDetail(String HealthStatusDetail)
HealthStatusDetail - Detailed information of the current health status. Valid values: Alive: healthy; Dead: exceptional; Unknown: check not started/checking/unknown status; Close: health check not configured.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.