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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe error if unhealthybooleanWhether 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.voidsetErrorMsg(String in) The error if unhealthyvoidsetHealthy(boolean in) Whether the healthcheck succeeded.voidUnique identifier of the healthcheck.voidUnique identifier of the healthcheck node.voidsetNodeName(String in) The name of the node.voidsetResourceId(String in) Unique identifier of the healthcheck resource.voidThe name of the resource.voidsetTimestamp(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.
-