code: public RunParams templateCode(String templateCode) {
          if (templateCode == null) {
              throw new NullPointerException("\"templateCode\" parameter can not be null");
          }
          this.reportTemplate = report.getReportTemplates().get(templateCode);
          if (reportTemplate == null) {
              throw new NullPointerException(String.format("Report template not found for code [%s]", templateCode));
          }
          return this;
      }
docs: Setup necessary template by string code. Throws validation exception if code is null or template not found
  @param templateCode - string code of template