Class StatusReport
- java.lang.Object
-
- com.amazonaws.services.route53.model.StatusReport
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StatusReport extends Object implements Serializable, Cloneable
A complex type that contains information about the health check status for the current observation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StatusReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatusReport
clone()
boolean
equals(Object obj)
Date
getCheckedTime()
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).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 formatYYYY-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 formatYYYY-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.
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
The observed health check status.
- Parameters:
status
- The observed health check status.
-
getStatus
public String getStatus()
The observed health check status.
- Returns:
- The observed health check status.
-
withStatus
public StatusReport withStatus(String status)
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
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). TheZ
after 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). TheZ
after the time indicates that the time is listed in Coordinated Universal Time (UTC).
-
getCheckedTime
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). TheZ
after 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). TheZ
after the time indicates that the time is listed in Coordinated Universal Time (UTC).
-
withCheckedTime
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). TheZ
after 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). TheZ
after 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StatusReport clone()
-
-