@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetHealthDescription extends Object implements Serializable, Cloneable
Information about the health of a target.
Constructor and Description |
---|
TargetHealthDescription() |
Modifier and Type | Method and Description |
---|---|
TargetHealthDescription |
clone() |
boolean |
equals(Object obj) |
AnomalyDetection |
getAnomalyDetection()
The anomaly detection result for the target.
|
String |
getHealthCheckPort()
The port to use to connect with the target.
|
TargetDescription |
getTarget()
The description of the target.
|
TargetHealth |
getTargetHealth()
The health information for the target.
|
int |
hashCode() |
void |
setAnomalyDetection(AnomalyDetection anomalyDetection)
The anomaly detection result for the target.
|
void |
setHealthCheckPort(String healthCheckPort)
The port to use to connect with the target.
|
void |
setTarget(TargetDescription target)
The description of the target.
|
void |
setTargetHealth(TargetHealth targetHealth)
The health information for the target.
|
String |
toString()
Returns a string representation of this object.
|
TargetHealthDescription |
withAnomalyDetection(AnomalyDetection anomalyDetection)
The anomaly detection result for the target.
|
TargetHealthDescription |
withHealthCheckPort(String healthCheckPort)
The port to use to connect with the target.
|
TargetHealthDescription |
withTarget(TargetDescription target)
The description of the target.
|
TargetHealthDescription |
withTargetHealth(TargetHealth targetHealth)
The health information for the target.
|
public void setTarget(TargetDescription target)
The description of the target.
target
- The description of the target.public TargetDescription getTarget()
The description of the target.
public TargetHealthDescription withTarget(TargetDescription target)
The description of the target.
target
- The description of the target.public void setHealthCheckPort(String healthCheckPort)
The port to use to connect with the target.
healthCheckPort
- The port to use to connect with the target.public String getHealthCheckPort()
The port to use to connect with the target.
public TargetHealthDescription withHealthCheckPort(String healthCheckPort)
The port to use to connect with the target.
healthCheckPort
- The port to use to connect with the target.public void setTargetHealth(TargetHealth targetHealth)
The health information for the target.
targetHealth
- The health information for the target.public TargetHealth getTargetHealth()
The health information for the target.
public TargetHealthDescription withTargetHealth(TargetHealth targetHealth)
The health information for the target.
targetHealth
- The health information for the target.public void setAnomalyDetection(AnomalyDetection anomalyDetection)
The anomaly detection result for the target.
If no anomalies were detected, the result is normal
.
If anomalies were detected, the result is anomalous
.
anomalyDetection
- The anomaly detection result for the target.
If no anomalies were detected, the result is normal
.
If anomalies were detected, the result is anomalous
.
public AnomalyDetection getAnomalyDetection()
The anomaly detection result for the target.
If no anomalies were detected, the result is normal
.
If anomalies were detected, the result is anomalous
.
If no anomalies were detected, the result is normal
.
If anomalies were detected, the result is anomalous
.
public TargetHealthDescription withAnomalyDetection(AnomalyDetection anomalyDetection)
The anomaly detection result for the target.
If no anomalies were detected, the result is normal
.
If anomalies were detected, the result is anomalous
.
anomalyDetection
- The anomaly detection result for the target.
If no anomalies were detected, the result is normal
.
If anomalies were detected, the result is anomalous
.
public String toString()
toString
in class Object
Object.toString()
public TargetHealthDescription clone()