driver-core/src/main/com/mongodb/client/result/UpdateResult.java
public static UpdateResult acknowledged(final long matchedCount, @Nullable final Long modifiedCount,
                                            @Nullable final BsonValue upsertedId) {
        return new AcknowledgedUpdateResult(matchedCount, modifiedCount, upsertedId);
    }
public static UpdateResult acknowledged(final long matchedCount, @Nullable final Long modifiedCount,
                                            @Nullable final BsonValue upsertedId) {
        return new AcknowledgedUpdateResult(matchedCount, modifiedCount, upsertedId);
    }
Create an acknowledged UpdateResult

@param matchedCount  the number of documents matched
@param modifiedCount the number of documents modified
@param upsertedId    if the replace resulted in an inserted document, the id of the inserted document
@return an acknowledged UpdateResult