public static class BackendHealth.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackendHealth |
build() |
BackendHealth.Builder |
copy(BackendHealth model) |
BackendHealth.Builder |
healthCheckResults(List<HealthCheckResult> healthCheckResults)
A list of the most recent health check results returned for the specified backend server.
|
BackendHealth.Builder |
status(BackendHealth.Status status)
The general health status of the specified backend server.
|
public BackendHealth.Builder status(BackendHealth.Status status)
The general health status of the specified backend server.
**OK:** All health check probes return OK
**WARNING:** At least one of the health check probes does not return OK
**CRITICAL:** None of the health check probes return OK
. * * **UNKNOWN:** One
of the health checks probes return UNKNOWN
, * or the system is unable to retrieve
metrics at this time.
status
- the value to setpublic BackendHealth.Builder healthCheckResults(List<HealthCheckResult> healthCheckResults)
A list of the most recent health check results returned for the specified backend server.
healthCheckResults
- the value to setpublic BackendHealth build()
public BackendHealth.Builder copy(BackendHealth model)
Copyright © 2016–2024. All rights reserved.