@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetHealth extends Object implements Serializable, Cloneable
Information about the connection health of an RDS Proxy target.
| Constructor and Description |
|---|
TargetHealth() |
| Modifier and Type | Method and Description |
|---|---|
TargetHealth |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the health of the RDS Proxy target.
|
String |
getReason()
The reason for the current health
State of the RDS Proxy target. |
String |
getState()
The current state of the connection health lifecycle for the RDS Proxy target.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the health of the RDS Proxy target.
|
void |
setReason(String reason)
The reason for the current health
State of the RDS Proxy target. |
void |
setState(String state)
The current state of the connection health lifecycle for the RDS Proxy target.
|
String |
toString()
Returns a string representation of this object.
|
TargetHealth |
withDescription(String description)
A description of the health of the RDS Proxy target.
|
TargetHealth |
withReason(String reason)
The reason for the current health
State of the RDS Proxy target. |
TargetHealth |
withReason(TargetHealthReason reason)
The reason for the current health
State of the RDS Proxy target. |
TargetHealth |
withState(String state)
The current state of the connection health lifecycle for the RDS Proxy target.
|
TargetHealth |
withState(TargetState state)
The current state of the connection health lifecycle for the RDS Proxy target.
|
public void setState(String state)
The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available > unavailable
> available
state - The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical
lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available >
unavailable > available
TargetStatepublic String getState()
The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available > unavailable
> available
registering > unavailable > available >
unavailable > available
TargetStatepublic TargetHealth withState(String state)
The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available > unavailable
> available
state - The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical
lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available >
unavailable > available
TargetStatepublic TargetHealth withState(TargetState state)
The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available > unavailable
> available
state - The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical
lifecycle example for the states of an RDS Proxy target:
registering > unavailable > available >
unavailable > available
TargetStatepublic void setReason(String reason)
The reason for the current health State of the RDS Proxy target.
reason - The reason for the current health State of the RDS Proxy target.TargetHealthReasonpublic String getReason()
The reason for the current health State of the RDS Proxy target.
State of the RDS Proxy target.TargetHealthReasonpublic TargetHealth withReason(String reason)
The reason for the current health State of the RDS Proxy target.
reason - The reason for the current health State of the RDS Proxy target.TargetHealthReasonpublic TargetHealth withReason(TargetHealthReason reason)
The reason for the current health State of the RDS Proxy target.
reason - The reason for the current health State of the RDS Proxy target.TargetHealthReasonpublic void setDescription(String description)
A description of the health of the RDS Proxy target. If the State is AVAILABLE, a
description is not included.
description - A description of the health of the RDS Proxy target. If the State is AVAILABLE,
a description is not included.public String getDescription()
A description of the health of the RDS Proxy target. If the State is AVAILABLE, a
description is not included.
State is AVAILABLE,
a description is not included.public TargetHealth withDescription(String description)
A description of the health of the RDS Proxy target. If the State is AVAILABLE, a
description is not included.
description - A description of the health of the RDS Proxy target. If the State is AVAILABLE,
a description is not included.public String toString()
toString in class ObjectObject.toString()public TargetHealth clone()