public final void setStream(InputStream stream) {
        this.stream = stream;
    }
Sets input stream of document.
@param stream Input stream of document.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/UploadDocumentStreamRequest.java