code: public UriTemplate build() throws MalformedUriTemplateException
      {
          UriTemplate template = new UriTemplate(this.components);
          if (this.values != null)
          {
              template.set(values);
          }
  
          if (defaultDateTimeFormatter != null)
          {
              template.defaultDateTimeFormatter = defaultDateTimeFormatter;
          }
          return template;
      }
docs: <p>
  Generates a {@link UriTemplate} instance from the builder.
  </p>
  
  @return the UriTemplate
  @since 2.0