driver-core/src/main/com/mongodb/ReadConcern.java
public BsonDocument asDocument() {
        BsonDocument readConcern = new BsonDocument();
        if (level != null) {
            readConcern.put("level", new BsonString(level.getValue()));
        }
        return readConcern;
    }
public BsonDocument asDocument() {
        BsonDocument readConcern = new BsonDocument();
        if (level != null) {
            readConcern.put("level", new BsonString(level.getValue()));
        }
        return readConcern;
    }
public BsonDocument asDocument ( ) { BsonDocument readConcern = new BsonDocument ( ) ; if ( level != null ) { readConcern . put ( "level" , new BsonString ( level . getValue ( ) ) ) ; } return readConcern ; }
Gets this read concern as a document.

@return The read concern as a BsonDocument
Gets this read concern as a document .