Class Healthcheck

java.lang.Object
com.strongdm.api.Healthcheck

public class Healthcheck extends Object
Healthcheck defines the status of the link between a node and a resource
  • Constructor Details

    • Healthcheck

      public Healthcheck()
  • Method Details

    • getErrorMsg

      public String getErrorMsg()
      The error if unhealthy
    • setErrorMsg

      public void setErrorMsg(String in)
      The error if unhealthy
    • getHealthy

      public boolean getHealthy()
      Whether the healthcheck succeeded.
    • setHealthy

      public void setHealthy(boolean in)
      Whether the healthcheck succeeded.
    • getId

      public String getId()
      Unique identifier of the healthcheck.
    • setId

      public void setId(String in)
      Unique identifier of the healthcheck.
    • getNodeId

      public String getNodeId()
      Unique identifier of the healthcheck node.
    • setNodeId

      public void setNodeId(String in)
      Unique identifier of the healthcheck node.
    • getNodeName

      public String getNodeName()
      The name of the node.
    • setNodeName

      public void setNodeName(String in)
      The name of the node.
    • getResourceId

      public String getResourceId()
      Unique identifier of the healthcheck resource.
    • setResourceId

      public void setResourceId(String in)
      Unique identifier of the healthcheck resource.
    • getResourceName

      public String getResourceName()
      The name of the resource.
    • setResourceName

      public void setResourceName(String in)
      The name of the resource.
    • getTimestamp

      public Date getTimestamp()
      The time at which the healthcheck state was recorded.
    • setTimestamp

      public void setTimestamp(Date in)
      The time at which the healthcheck state was recorded.