Class HealthCheckResult.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.HealthCheckResult.Builder
-
- Enclosing class:
- HealthCheckResult
public static class HealthCheckResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckResult
build()
HealthCheckResult.Builder
copy(HealthCheckResult model)
HealthCheckResult.Builder
healthCheckStatus(HealthCheckResult.HealthCheckStatus healthCheckStatus)
The result of the most recent health check.HealthCheckResult.Builder
sourceIpAddress(String sourceIpAddress)
The IP address of the health check status report provider.HealthCheckResult.Builder
subnetId(String subnetId)
The OCID of the subnet hosting the load balancer that reported this health check status.HealthCheckResult.Builder
timestamp(Date timestamp)
The date and time the data was retrieved, in the format defined by RFC3339.
-
-
-
Method Detail
-
subnetId
public HealthCheckResult.Builder subnetId(String subnetId)
The OCID of the subnet hosting the load balancer that reported this health check status.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
sourceIpAddress
public HealthCheckResult.Builder sourceIpAddress(String sourceIpAddress)
The IP address of the health check status report provider.This identifier helps you differentiate same-subnet load balancers that report health check status.
Example: 10.0.0.7
- Parameters:
sourceIpAddress
- the value to set- Returns:
- this builder
-
timestamp
public HealthCheckResult.Builder timestamp(Date timestamp)
The date and time the data was retrieved, in the format defined by RFC3339.Example: 2017-06-02T18:28:11+00:00
- Parameters:
timestamp
- the value to set- Returns:
- this builder
-
healthCheckStatus
public HealthCheckResult.Builder healthCheckStatus(HealthCheckResult.HealthCheckStatus healthCheckStatus)
The result of the most recent health check.- Parameters:
healthCheckStatus
- the value to set- Returns:
- this builder
-
build
public HealthCheckResult build()
-
copy
public HealthCheckResult.Builder copy(HealthCheckResult model)
-
-