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 String getStatus()
public void setStatus(String status)
status - The observed health check status.public StatusReport withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status - The observed health check status.public Date getCheckedTime()
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), which is synonymous with Greenwich Mean Time in this
context.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), which is synonymous with Greenwich Mean Time in this
context.public void setCheckedTime(Date checkedTime)
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), which is synonymous with Greenwich Mean Time in this
context.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), which is synonymous with Greenwich Mean Time in this
context.public StatusReport withCheckedTime(Date checkedTime)
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), which is synonymous with Greenwich Mean Time in this
context.
Returns a reference to this object so that method calls can be chained together.
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), which is synonymous with Greenwich Mean Time in this
context.public String toString()
toString in class ObjectObject.toString()public StatusReport clone()
Copyright © 2015. All rights reserved.