public TranslateDocumentRequest withDocument(Document document) {
        setDocument(document);
        return this;
    }
<p>
The content and content type for the document to be translated. The document size must not exceed 100 KB.
</p>

@param document
       The content and content type for the document to be translated. The document size must not exceed 100 KB.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-translate/src/main/java/com/amazonaws/services/translate/model/TranslateDocumentRequest.java