public BsonDocument asDocument ( ) { BsonDocument document = new BsonDocument ( ) ; addW ( document ) ; addWTimeout ( document ) ; addFSync ( document ) ; addJ ( document ) ; return document ; }
Gets this write concern as a document .