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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    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 observed health check status.
    int
     
    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.
    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 format YYYY-MM-DDThh:mm:ssZ, as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z).
    The observed health check status.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StatusReport

      public StatusReport()
  • Method Details

    • 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). The Z 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 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).
    • 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). The Z 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). The Z 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). The Z 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 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).
      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public StatusReport clone()
      Overrides:
      clone in class Object