public static class HealthCheckResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HealthCheckResult |
build() |
HealthCheckResult.Builder |
copy(HealthCheckResult model) |
HealthCheckResult.Builder |
healthCheckStatus(HealthCheckResult.HealthCheckStatus healthCheckStatus)
The result of the most recent health check.
|
HealthCheckResult.Builder |
timestamp(Date timestamp)
The date and time the data was retrieved, in the format defined by RFC3339.
|
public HealthCheckResult.Builder timestamp(Date timestamp)
The date and time the data was retrieved, in the format defined by RFC3339.
Example: 2020-05-01T18:28:11+00:00
timestamp
- the value to setpublic HealthCheckResult.Builder healthCheckStatus(HealthCheckResult.HealthCheckStatus healthCheckStatus)
The result of the most recent health check.
healthCheckStatus
- the value to setpublic HealthCheckResult build()
public HealthCheckResult.Builder copy(HealthCheckResult model)
Copyright © 2016–2024. All rights reserved.