public class StatusReport extends Object implements Serializable, Cloneable
A complex type that contains information about the health check status for the current observation.
Constructor and Description |
---|
StatusReport() |
Modifier and Type | Method and Description |
---|---|
StatusReport |
clone() |
boolean |
equals(Object obj) |
Date |
getCheckedTime()
The date and time the health check status was observed, in the format
YYYY-MM-DDThh:mm:ssZ , as specified in the ISO 8601 standard
(for example, 2009-11-19T19:37:58Z). |
String |
getStatus()
The observed health check status.
|
int |
hashCode() |
void |
setCheckedTime(Date checkedTime)
The date and time the health check status was observed, in the format
YYYY-MM-DDThh:mm:ssZ , as specified in the ISO 8601 standard
(for example, 2009-11-19T19:37:58Z). |
void |
setStatus(String status)
The observed health check status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StatusReport |
withCheckedTime(Date checkedTime)
The date and time the health check status was observed, in the format
YYYY-MM-DDThh:mm:ssZ , as specified in the ISO 8601 standard
(for example, 2009-11-19T19:37:58Z). |
StatusReport |
withStatus(String status)
The observed health check status.
|
public void setStatus(String status)
The observed health check status.
status
- The observed health check status.public String getStatus()
The observed health check status.
public StatusReport withStatus(String status)
The observed health check status.
status
- The observed health check status.public void setCheckedTime(Date checkedTime)
The date and time the health check status was observed, in the format
YYYY-MM-DDThh:mm:ssZ
, as specified in the ISO 8601 standard
(for example, 2009-11-19T19:37:58Z). The Z
after the time
indicates that the time is listed in Coordinated Universal Time (UTC).
checkedTime
- The date and time the health check status was observed, in the
format YYYY-MM-DDThh:mm:ssZ
, as specified in the ISO
8601 standard (for example, 2009-11-19T19:37:58Z). The
Z
after the time indicates that the time is listed in
Coordinated Universal Time (UTC).public Date getCheckedTime()
The date and time the health check status was observed, in the format
YYYY-MM-DDThh:mm:ssZ
, as specified in the ISO 8601 standard
(for example, 2009-11-19T19:37:58Z). The Z
after the time
indicates that the time is listed in Coordinated Universal Time (UTC).
YYYY-MM-DDThh:mm:ssZ
, as specified in the ISO
8601 standard (for example, 2009-11-19T19:37:58Z). The
Z
after the time indicates that the time is listed
in Coordinated Universal Time (UTC).public StatusReport withCheckedTime(Date checkedTime)
The date and time the health check status was observed, in the format
YYYY-MM-DDThh:mm:ssZ
, as specified in the ISO 8601 standard
(for example, 2009-11-19T19:37:58Z). The Z
after the time
indicates that the time is listed in Coordinated Universal Time (UTC).
checkedTime
- The date and time the health check status was observed, in the
format YYYY-MM-DDThh:mm:ssZ
, as specified in the ISO
8601 standard (for example, 2009-11-19T19:37:58Z). The
Z
after the time indicates that the time is listed in
Coordinated Universal Time (UTC).public String toString()
toString
in class Object
Object.toString()
public StatusReport clone()
Copyright © 2018. All rights reserved.