code: public GetDocumentResult withCustomMetadata(java.util.Map<String, String> customMetadata) {
          setCustomMetadata(customMetadata);
          return this;
      }
docs: <p>
  The custom metadata on the document.
  </p>
  
  @param customMetadata
  The custom metadata on the document.
  @return Returns a reference to this object so that method calls can be chained together.