Creates a new Result instance
The result message
The result status
The timestamp when the check finished
OptionalmetaOptional metadata associated with the result
The result message
The result status
The timestamp when the check finished
StaticokStaticfailedStaticwarningUpdate the finished at timestamp for the result
The new finish timestamp
Define custom meta-data for the result. Calling this method will override the existing meta-data
The metadata object to set
Merge custom meta-data with the existing meta-data. A shallow merge is performed
The metadata object to merge
Convert the result to a plain object
The result class offers a chainable API to create HealthCheckResult
Example