public GetDocumentResult withCustomMetadata(java.util.Map<String, String> customMetadata) {
        setCustomMetadata(customMetadata);
        return this;
    }
<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.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/GetDocumentResult.java