Class LoadBalancerHealthSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.loadbalancer.model.LoadBalancerHealthSummary.Builder
 
- 
- Enclosing class:
- LoadBalancerHealthSummary
 
 public static class LoadBalancerHealthSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadBalancerHealthSummarybuild()LoadBalancerHealthSummary.Buildercopy(LoadBalancerHealthSummary model)LoadBalancerHealthSummary.BuilderloadBalancerId(String loadBalancerId)The OCID of the load balancer the health status is associated with.LoadBalancerHealthSummary.Builderstatus(LoadBalancerHealthSummary.Status status)The overall health status of the load balancer.
 
- 
- 
- 
Method Detail- 
loadBalancerIdpublic LoadBalancerHealthSummary.Builder loadBalancerId(String loadBalancerId) The OCID of the load balancer the health status is associated with.- Parameters:
- loadBalancerId- the value to set
- Returns:
- this builder
 
 - 
statuspublic LoadBalancerHealthSummary.Builder status(LoadBalancerHealthSummary.Status status) The overall health status of the load balancer.**OK:** All backend sets associated with the load balancer return a status of OK. **WARNING:** At least one of the backend sets associated with the load balancer returns a status of WARNING, no backend sets return a status of CRITICAL, and the load balancer life cycle state is ACTIVE. **CRITICAL:** One or more of the backend sets associated with the load balancer return a status of CRITICAL. **UNKNOWN:** If any one of the following conditions is true: The load balancer life cycle state is not ACTIVE. No backend sets are defined for the load balancer. More than half of the backend sets associated with the load balancer return a status of UNKNOWN, none of the backend sets return a status of WARNING or CRITICAL, and the 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 LoadBalancerHealthSummary build() 
 - 
copypublic LoadBalancerHealthSummary.Builder copy(LoadBalancerHealthSummary model) 
 
- 
 
-