@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HealthCheckObservation extends Object implements Serializable, Cloneable
A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker.
| Constructor and Description |
|---|
HealthCheckObservation() |
| Modifier and Type | Method and Description |
|---|---|
HealthCheckObservation |
clone() |
boolean |
equals(Object obj) |
String |
getIPAddress()
The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport. |
String |
getRegion()
The region of the Amazon Route 53 health checker that provided the status in
StatusReport. |
StatusReport |
getStatusReport()
A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the
time of the failed health check.
|
int |
hashCode() |
void |
setIPAddress(String iPAddress)
The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport. |
void |
setRegion(HealthCheckRegion region)
The region of the Amazon Route 53 health checker that provided the status in
StatusReport. |
void |
setRegion(String region)
The region of the Amazon Route 53 health checker that provided the status in
StatusReport. |
void |
setStatusReport(StatusReport statusReport)
A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the
time of the failed health check.
|
String |
toString()
Returns a string representation of this object.
|
HealthCheckObservation |
withIPAddress(String iPAddress)
The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport. |
HealthCheckObservation |
withRegion(HealthCheckRegion region)
The region of the Amazon Route 53 health checker that provided the status in
StatusReport. |
HealthCheckObservation |
withRegion(String region)
The region of the Amazon Route 53 health checker that provided the status in
StatusReport. |
HealthCheckObservation |
withStatusReport(StatusReport statusReport)
A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the
time of the failed health check.
|
public void setRegion(String region)
The region of the Amazon Route 53 health checker that provided the status in StatusReport.
region - The region of the Amazon Route 53 health checker that provided the status in StatusReport.HealthCheckRegionpublic String getRegion()
The region of the Amazon Route 53 health checker that provided the status in StatusReport.
StatusReport.HealthCheckRegionpublic HealthCheckObservation withRegion(String region)
The region of the Amazon Route 53 health checker that provided the status in StatusReport.
region - The region of the Amazon Route 53 health checker that provided the status in StatusReport.HealthCheckRegionpublic void setRegion(HealthCheckRegion region)
The region of the Amazon Route 53 health checker that provided the status in StatusReport.
region - The region of the Amazon Route 53 health checker that provided the status in StatusReport.HealthCheckRegionpublic HealthCheckObservation withRegion(HealthCheckRegion region)
The region of the Amazon Route 53 health checker that provided the status in StatusReport.
region - The region of the Amazon Route 53 health checker that provided the status in StatusReport.HealthCheckRegionpublic void setIPAddress(String iPAddress)
The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport.
iPAddress - The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport.public String getIPAddress()
The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport.
StatusReport.public HealthCheckObservation withIPAddress(String iPAddress)
The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport.
iPAddress - The IP address of the Amazon Route 53 health checker that provided the failure reason in
StatusReport.public void setStatusReport(StatusReport statusReport)
A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.
statusReport - A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and
the time of the failed health check.public StatusReport getStatusReport()
A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.
public HealthCheckObservation withStatusReport(StatusReport statusReport)
A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.
statusReport - A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and
the time of the failed health check.public String toString()
toString in class ObjectObject.toString()public HealthCheckObservation clone()