@Override
    public int hashCode() {
        int hashCode = 1;
        hashCode = 31 * hashCode + ((documentId == null) ? 0 : documentId.hashCode());
        hashCode = 31 * hashCode + ((versionId == null) ? 0 : versionId.hashCode());
        hashCode = 31 * hashCode + ((stream == null) ? 0 : stream.hashCode());
        return hashCode;
    }
Sets input stream of document.
@param stream Input stream of document.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/GetDocumentStreamResult.java