Class NetworkLoadBalancerHealthSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.networkloadbalancer.model.NetworkLoadBalancerHealthSummary.Builder
 
- 
- Enclosing class:
- NetworkLoadBalancerHealthSummary
 
 public static class NetworkLoadBalancerHealthSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkLoadBalancerHealthSummarybuild()NetworkLoadBalancerHealthSummary.Buildercopy(NetworkLoadBalancerHealthSummary model)NetworkLoadBalancerHealthSummary.BuildernetworkLoadBalancerId(String networkLoadBalancerId)The OCID of the network load balancer with which the health status is associated.NetworkLoadBalancerHealthSummary.Builderstatus(NetworkLoadBalancerHealthSummary.Status status)The overall health status of the network load balancer.
 
- 
- 
- 
Method Detail- 
networkLoadBalancerIdpublic NetworkLoadBalancerHealthSummary.Builder networkLoadBalancerId(String networkLoadBalancerId) The OCID of the network load balancer with which the health status is associated.- Parameters:
- networkLoadBalancerId- the value to set
- Returns:
- this builder
 
 - 
statuspublic NetworkLoadBalancerHealthSummary.Builder status(NetworkLoadBalancerHealthSummary.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 returns 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 returns 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. - Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
buildpublic NetworkLoadBalancerHealthSummary build() 
 - 
copypublic NetworkLoadBalancerHealthSummary.Builder copy(NetworkLoadBalancerHealthSummary model) 
 
- 
 
-