@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) |
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 |
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; useful for testing and debugging.
|
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 String toString()
toString
in class Object
Object.toString()
public TargetHealthDescription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.