code: public List<Build> getBuilds() {
          if (builds == null) {
              return Collections.emptyList();
          } else {
              return builds.stream()
                      .map(s -> buildWithClient(s))
                      .collect(toList());
          }
      }
docs: This method will give you back the builds of a particular job.
  
  <b>Note: Jenkins limits the number of results to a maximum of 100 builds
  which you will get back.</b>. In case you have more than 100 build you
  won't get back all builds via this method. In such cases you need to use
  {@link #getAllBuilds()}.
  
  @return the list of {@link Build}. In case of no builds have been
  executed yet return {@link Collections#emptyList()}.