public void replaceOne(final DBObject document) {
    """
	Adds a request to replace one document in the collection that matches the query with which this builder was created.
	
	@param document the replacement document, which must be structured just as a document you would insert.  It can not contain any
	update operators.
    """
        new BulkUpdateRequestBuilder(bulkWriteOperation, query, false, codec, replacementCodec, collation, null).replaceOne(document);
    }
public void replaceOne(final DBObject document) {
        new BulkUpdateRequestBuilder(bulkWriteOperation, query, false, codec, replacementCodec, collation, null).replaceOne(document);
    }
public void replaceOne ( final DBObject document ) { new BulkUpdateRequestBuilder ( bulkWriteOperation , query , false , codec , replacementCodec , collation , null ) . replaceOne ( document ) ; }
Adds a request to replace one document in the collection that matches the query with which this builder was created.

@param document the replacement document, which must be structured just as a document you would insert.  It can not contain any
update operators.
Adds a request to replace one document in the collection that matches the query with which this builder was created .