public ConsulUpdatingListenerBuilder checkInterval(Duration checkInterval) {
        requireNonNull(checkInterval, "checkInterval");
        checkIntervalMillis(checkInterval.toMillis());
        return this;
    }
Sets the specified {@link Duration} for checking health.
If not set {@value DEFAULT_CHECK_INTERVAL_MILLIS} milliseconds is used by default.

<p>Note that the {@code checkInterval} should be configured with {@link #checkUri(URI)}.
Otherwise, the {@link #build()} method will throw an {@link IllegalStateException}.
consul/src/main/java/com/linecorp/armeria/server/consul/ConsulUpdatingListenerBuilder.java