Class BackendHealth.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.BackendHealth.Builder
-
- Enclosing class:
- BackendHealth
public static class BackendHealth.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 as reported by the primary and standby load balancers.
-
-
-
Method Detail
-
status
public BackendHealth.Builder status(BackendHealth.Status status)
The general health status of the specified backend server as reported by the primary and standby load balancers.**OK:** Both health checks returned OK.
**WARNING:** One health check returned OK and one did not.
**CRITICAL:** Neither health check returned OK.
**UNKNOWN:** One or both health checks returned UNKNOWN, or the system was unable to retrieve metrics at this time.
- Parameters:
status
- the value to set- Returns:
- this builder
-
healthCheckResults
public BackendHealth.Builder healthCheckResults(List<HealthCheckResult> healthCheckResults)
A list of the most recent health check results returned for the specified backend server.- Parameters:
healthCheckResults
- the value to set- Returns:
- this builder
-
build
public BackendHealth build()
-
copy
public BackendHealth.Builder copy(BackendHealth model)
-
-