public Builder setInterval(Duration interval) {
      this.interval = interval;
      return this;
    }
Sets the time between healthchecks.

@param interval the duration to wait between healthchecks.
@return this
jib-core/src/main/java/com/google/cloud/tools/jib/configuration/DockerHealthCheck.java