code: public SafeHtmlBuilder setHref(TrustedResourceUrl value) {
      hrefValueContract = AttributeContract.TRUSTED_RESOURCE_URL;
      return setAttribute("href", value.getTrustedResourceUrlString());
    }
docs: Sets the {@code href} attribute for this element.