public static class BackendSetHealth.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackendSetHealth |
build() |
BackendSetHealth.Builder |
copy(BackendSetHealth model) |
BackendSetHealth.Builder |
criticalStateBackendNames(List<String> criticalStateBackendNames)
A list of backend servers that are currently in the
CRITICAL health state. |
BackendSetHealth.Builder |
status(BackendSetHealth.Status status)
Overall health status of the backend set.
|
BackendSetHealth.Builder |
totalBackendCount(Integer totalBackendCount)
The total number of backend servers in this backend set.
|
BackendSetHealth.Builder |
unknownStateBackendNames(List<String> unknownStateBackendNames)
A list of backend servers that are currently in the
UNKNOWN health state. |
BackendSetHealth.Builder |
warningStateBackendNames(List<String> warningStateBackendNames)
A list of backend servers that are currently in the
WARNING health state. |
public BackendSetHealth.Builder status(BackendSetHealth.Status status)
Overall health status of the backend set.
**OK:** All backend servers in the backend set return a status of OK
.
**WARNING:** Half or more of the backend servers in a backend set return a status of
OK
and at least one backend server returns a status of WARNING
, CRITICAL
, or UNKNOWN
.
**CRITICAL:** Fewer than half of the backend servers in a backend set return a status
of OK
.
**UNKNOWN:** If no probes have yet been sent to the backends, or the system is unable to retrieve metrics from the backends.
status
- the value to setpublic BackendSetHealth.Builder warningStateBackendNames(List<String> warningStateBackendNames)
A list of backend servers that are currently in the WARNING
health state. The
list identifies each backend server by IP address or OCID and port.
Example: 10.0.0.3:8080
or ocid1.privateip..oc1.<var><unique_ID></var>:8080
warningStateBackendNames
- the value to setpublic BackendSetHealth.Builder criticalStateBackendNames(List<String> criticalStateBackendNames)
A list of backend servers that are currently in the CRITICAL
health state. The
list identifies each backend server by IP address and port.
Example: 10.0.0.4:8080
criticalStateBackendNames
- the value to setpublic BackendSetHealth.Builder unknownStateBackendNames(List<String> unknownStateBackendNames)
A list of backend servers that are currently in the UNKNOWN
health state. The
list identifies each backend server by IP address and port.
Example: 10.0.0.5:8080
unknownStateBackendNames
- the value to setpublic BackendSetHealth.Builder totalBackendCount(Integer totalBackendCount)
The total number of backend servers in this backend set.
Example: 7
totalBackendCount
- the value to setpublic BackendSetHealth build()
public BackendSetHealth.Builder copy(BackendSetHealth model)
Copyright © 2016–2024. All rights reserved.