public class StatusReport
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A complex type that contains information about the health check status for the current observation.
Modifier and Type | Field and Description |
---|---|
private java.util.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). |
private java.lang.String |
status
The observed health check status.
|
Constructor and Description |
---|
StatusReport() |
Modifier and Type | Method and Description |
---|---|
StatusReport |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.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). |
java.lang.String |
getStatus()
The observed health check status.
|
int |
hashCode() |
void |
setCheckedTime(java.util.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(java.lang.String status)
The observed health check status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StatusReport |
withCheckedTime(java.util.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(java.lang.String status)
The observed health check status.
|
private java.lang.String status
The observed health check status.
private java.util.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).
public void setStatus(java.lang.String status)
The observed health check status.
status
- The observed health check status.public java.lang.String getStatus()
The observed health check status.
public StatusReport withStatus(java.lang.String status)
The observed health check status.
status
- The observed health check status.public void setCheckedTime(java.util.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 java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StatusReport clone()
clone
in class java.lang.Object