public abstract class HealthCheckResponseBuilder
extends java.lang.Object
The HealthCheckResponseBuilder class is reserved for an extension by implementation providers.
Constructor and Description |
---|
HealthCheckResponseBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract HealthCheckResponse |
build() |
abstract HealthCheckResponseBuilder |
down() |
abstract HealthCheckResponseBuilder |
name(java.lang.String name) |
abstract HealthCheckResponseBuilder |
state(boolean up) |
abstract HealthCheckResponseBuilder |
up() |
abstract HealthCheckResponseBuilder |
withData(java.lang.String key,
boolean value) |
abstract HealthCheckResponseBuilder |
withData(java.lang.String key,
long value) |
abstract HealthCheckResponseBuilder |
withData(java.lang.String key,
java.lang.String value) |
public abstract HealthCheckResponseBuilder name(java.lang.String name)
public abstract HealthCheckResponseBuilder withData(java.lang.String key, java.lang.String value)
public abstract HealthCheckResponseBuilder withData(java.lang.String key, long value)
public abstract HealthCheckResponseBuilder withData(java.lang.String key, boolean value)
public abstract HealthCheckResponseBuilder up()
public abstract HealthCheckResponseBuilder down()
public abstract HealthCheckResponseBuilder state(boolean up)
public abstract HealthCheckResponse build()