Class BackendSetHealth.Builder
- java.lang.Object
- 
- com.oracle.bmc.networkloadbalancer.model.BackendSetHealth.Builder
 
- 
- Enclosing class:
- BackendSetHealth
 
 public static class BackendSetHealth.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BackendSetHealthbuild()BackendSetHealth.Buildercopy(BackendSetHealth model)BackendSetHealth.BuildercriticalStateBackendNames(List<String> criticalStateBackendNames)A list of backend servers that are currently in the CRITICAL health state.BackendSetHealth.Builderstatus(BackendSetHealth.Status status)Overall health status of the backend set.BackendSetHealth.BuildertotalBackendCount(Integer totalBackendCount)The total number of backend servers in this backend set.BackendSetHealth.BuilderunknownStateBackendNames(List<String> unknownStateBackendNames)A list of backend servers that are currently in the UNKNOWN health state.BackendSetHealth.BuilderwarningStateBackendNames(List<String> warningStateBackendNames)A list of backend servers that are currently in the WARNING health state.
 
- 
- 
- 
Method Detail- 
statuspublic 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. - Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
warningStateBackendNamespublic 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.<unique_ID>:8080 - Parameters:
- warningStateBackendNames- the value to set
- Returns:
- this builder
 
 - 
criticalStateBackendNamespublic 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 - Parameters:
- criticalStateBackendNames- the value to set
- Returns:
- this builder
 
 - 
unknownStateBackendNamespublic 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 - Parameters:
- unknownStateBackendNames- the value to set
- Returns:
- this builder
 
 - 
totalBackendCountpublic BackendSetHealth.Builder totalBackendCount(Integer totalBackendCount) The total number of backend servers in this backend set.Example: 7 - Parameters:
- totalBackendCount- the value to set
- Returns:
- this builder
 
 - 
buildpublic BackendSetHealth build() 
 - 
copypublic BackendSetHealth.Builder copy(BackendSetHealth model) 
 
- 
 
-