code: public NewServiceEntry checks(List<NewCheck> checks) {
          if (checks != null) {
              this.checks.addAll(checks);
          }
          return this;
      }
docs: See https://www.consul.io/api/agent/service.html#checks.
  
  @param checks The health checks
  @return The {@link NewServiceEntry} instance