The HealthCheckResponseBuilder class is reserved for an extension by implementation providers.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract HealthCheckResponse | Returns: A newHealthCheckResponse defined by this builderCreates a |
| public abstract HealthCheckResponseBuilder | Returns: this builderSets the status of the health check response to |
| public abstract HealthCheckResponseBuilder | |
| public abstract HealthCheckResponseBuilder | Returns: this builderthe status up)Sets the status of the health check response according to the boolean value |
| public abstract HealthCheckResponseBuilder | Returns: this builderSets the status of the health check response to |
| public abstract HealthCheckResponseBuilder | |
| public abstract HealthCheckResponseBuilder | |
| public abstract HealthCheckResponseBuilder |
| HealthCheckResponseBuilder | back to summary |
|---|---|
| public HealthCheckResponseBuilder() | |
| build | back to summary |
|---|---|
| public abstract HealthCheckResponse build() Creates a
| |
| down | back to summary |
|---|---|
| public abstract HealthCheckResponseBuilder down() Sets the status of the health check response to
| |
| name | back to summary |
|---|---|
| public abstract HealthCheckResponseBuilder name(String name) Sets the name of the health check response Note The health check response name is required and needs to be set before the response is constructed.
| |
| status | back to summary |
|---|---|
| public abstract HealthCheckResponseBuilder status(boolean up) Sets the status of the health check response according to the boolean value
| |
| up | back to summary |
|---|---|
| public abstract HealthCheckResponseBuilder up() Sets the status of the health check response to
| |
| withData | back to summary |
|---|---|
| public abstract HealthCheckResponseBuilder withData(String key, String value) Adds additional string data to the health check response. Puts the
| |
| withData | back to summary |
|---|---|
| public abstract HealthCheckResponseBuilder withData(String key, long value) Adds additional numeric data to the health check response. Puts the long
| |
| withData | back to summary |
|---|---|
| public abstract HealthCheckResponseBuilder withData(String key, boolean value) Adds additional boolean data to the health check response. Puts the boolean
| |