public static class NetworkLoadBalancerHealth.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NetworkLoadBalancerHealth |
build() |
NetworkLoadBalancerHealth.Builder |
copy(NetworkLoadBalancerHealth model) |
NetworkLoadBalancerHealth.Builder |
criticalStateBackendSetNames(List<String> criticalStateBackendSetNames)
A list of backend sets that are currently in the
CRITICAL health state. |
NetworkLoadBalancerHealth.Builder |
status(NetworkLoadBalancerHealth.Status status)
The overall health status of the network load balancer.
|
NetworkLoadBalancerHealth.Builder |
totalBackendSetCount(Integer totalBackendSetCount)
The total number of backend sets associated with this network load balancer.
|
NetworkLoadBalancerHealth.Builder |
unknownStateBackendSetNames(List<String> unknownStateBackendSetNames)
A list of backend sets that are currently in the
UNKNOWN health state. |
NetworkLoadBalancerHealth.Builder |
warningStateBackendSetNames(List<String> warningStateBackendSetNames)
A list of backend sets that are currently in the
WARNING health state. |
public NetworkLoadBalancerHealth.Builder status(NetworkLoadBalancerHealth.Status status)
The overall health status of the network load balancer.
**OK:** All backend sets associated with the network load balancer return a status of
OK
.
**WARNING:** At least one of the backend sets associated with the network load
balancer returns a status of WARNING
, no backend sets return a status of CRITICAL
, and the network load balancer life cycle state is ACTIVE
.
**CRITICAL:** One or more of the backend sets associated with the network load
balancer return a status of CRITICAL
.
**UNKNOWN:** If any one of the following conditions is true:
The network load balancer life cycle state is not ACTIVE
.
No backend sets are defined for the network load balancer.
More than half of the backend sets associated with the network load balancer return a
status of UNKNOWN
, none of the backend sets return a status of WARNING
or
CRITICAL
, and the network load balancer life cycle state is ACTIVE
.
The system could not retrieve metrics for any reason.
status
- the value to setpublic NetworkLoadBalancerHealth.Builder warningStateBackendSetNames(List<String> warningStateBackendSetNames)
A list of backend sets that are currently in the WARNING
health state. The list
identifies each backend set by the user-friendly name you assigned when you created the
backend set.
Example: example_backend_set3
warningStateBackendSetNames
- the value to setpublic NetworkLoadBalancerHealth.Builder criticalStateBackendSetNames(List<String> criticalStateBackendSetNames)
A list of backend sets that are currently in the CRITICAL
health state. The list
identifies each backend set by the user-friendly name you assigned when you created the
backend set.
Example: example_backend_set
criticalStateBackendSetNames
- the value to setpublic NetworkLoadBalancerHealth.Builder unknownStateBackendSetNames(List<String> unknownStateBackendSetNames)
A list of backend sets that are currently in the UNKNOWN
health state. The list
identifies each backend set by the user-friendly name you assigned when you created the
backend set.
Example: example_backend_set2
unknownStateBackendSetNames
- the value to setpublic NetworkLoadBalancerHealth.Builder totalBackendSetCount(Integer totalBackendSetCount)
The total number of backend sets associated with this network load balancer.
Example: 4
totalBackendSetCount
- the value to setpublic NetworkLoadBalancerHealth build()
public NetworkLoadBalancerHealth.Builder copy(NetworkLoadBalancerHealth model)
Copyright © 2016–2024. All rights reserved.