Package com.strongdm.api
Class Healthcheck
java.lang.Object
com.strongdm.api.Healthcheck
Healthcheck defines the status of the link between a node and a resource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe error if unhealthyboolean
Whether the healthcheck succeeded.getId()
Unique identifier of the healthcheck.Unique identifier of the healthcheck node.The name of the node.Unique identifier of the healthcheck resource.The name of the resource.The time at which the healthcheck state was recorded.void
setErrorMsg
(String in) The error if unhealthyvoid
setHealthy
(boolean in) Whether the healthcheck succeeded.void
Unique identifier of the healthcheck.void
Unique identifier of the healthcheck node.void
setNodeName
(String in) The name of the node.void
setResourceId
(String in) Unique identifier of the healthcheck resource.void
The name of the resource.void
setTimestamp
(Date in) The time at which the healthcheck state was recorded.
-
Constructor Details
-
Healthcheck
public Healthcheck()
-
-
Method Details
-
getErrorMsg
The error if unhealthy -
setErrorMsg
The error if unhealthy -
getHealthy
public boolean getHealthy()Whether the healthcheck succeeded. -
setHealthy
public void setHealthy(boolean in) Whether the healthcheck succeeded. -
getId
Unique identifier of the healthcheck. -
setId
Unique identifier of the healthcheck. -
getNodeId
Unique identifier of the healthcheck node. -
setNodeId
Unique identifier of the healthcheck node. -
getNodeName
The name of the node. -
setNodeName
The name of the node. -
getResourceId
Unique identifier of the healthcheck resource. -
setResourceId
Unique identifier of the healthcheck resource. -
getResourceName
The name of the resource. -
setResourceName
The name of the resource. -
getTimestamp
The time at which the healthcheck state was recorded. -
setTimestamp
The time at which the healthcheck state was recorded.
-