public static final class DefaultReadinessCheckSpec.Builder
extends java.lang.Object
DefaultReadinessCheckSpec builder static inner class.| Modifier and Type | Method and Description |
|---|---|
DefaultReadinessCheckSpec |
build()
Returns a
DefaultHealthCheckSpec built from the parameters previously set. |
DefaultReadinessCheckSpec.Builder |
command(java.lang.String command)
Sets the
command and returns a reference to this Builder so that the methods can be chained together. |
DefaultReadinessCheckSpec.Builder |
delay(java.lang.Integer delay)
Sets the
delay and returns a reference to this Builder so that the methods can be chained together. |
DefaultReadinessCheckSpec.Builder |
interval(java.lang.Integer interval)
Sets the
interval and returns a reference to this Builder so that the methods can be chained
together. |
DefaultReadinessCheckSpec.Builder |
timeout(java.lang.Integer timeout)
Sets the
timeout and returns a reference to this Builder so that the methods can be chained together. |
public DefaultReadinessCheckSpec.Builder command(java.lang.String command)
command and returns a reference to this Builder so that the methods can be chained together.command - the command to setpublic DefaultReadinessCheckSpec.Builder delay(java.lang.Integer delay)
delay and returns a reference to this Builder so that the methods can be chained together.delay - the delay to setpublic DefaultReadinessCheckSpec.Builder interval(java.lang.Integer interval)
interval and returns a reference to this Builder so that the methods can be chained
together.interval - the interval to setpublic DefaultReadinessCheckSpec.Builder timeout(java.lang.Integer timeout)
timeout and returns a reference to this Builder so that the methods can be chained together.timeout - the timeout to setpublic DefaultReadinessCheckSpec build()
DefaultHealthCheckSpec built from the parameters previously set.DefaultHealthCheckSpec built with parameters of this DefaultHealthCheckSpec.Builder