Class StatusReport
- All Implemented Interfaces:
Serializable,Cloneable
A complex type that contains information about the health check status for the current observation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe date and time the health check status was observed, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).The observed health check status.inthashCode()voidsetCheckedTime(Date checkedTime) The date and time the health check status was observed, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).voidThe observed health check status.toString()Returns a string representation of this object; useful for testing and debugging.withCheckedTime(Date checkedTime) The date and time the health check status was observed, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).withStatus(String status) The observed health check status.
-
Constructor Details
-
StatusReport
public StatusReport()
-
-
Method Details
-
setStatus
The observed health check status.
- Parameters:
status- The observed health check status.
-
getStatus
The observed health check status.
- Returns:
- The observed health check status.
-
withStatus
The observed health check status.
- Parameters:
status- The observed health check status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCheckedTime
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). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).- Parameters:
checkedTime- The date and time the health check status was observed, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).
-
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). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).- Returns:
- 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). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).
-
withCheckedTime
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). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).- Parameters:
checkedTime- The date and time the health check status was observed, in the formatYYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). TheZafter the time indicates that the time is listed in Coordinated Universal Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-