public Builder database(MongoDatabase database) {
      this.database = checkNotNull(database);
      return this;
    }
Configures repository to lookup {@link com.mongodb.client.MongoCollection collection} from the specified
{@code database} handle. Repository will inherit {@link WriteConcern} and
{@link ReadPreference} settings that was configured on supplied instance.
@param database database handle.
@return {@code this}
@see MongoClient#getDB(String)
mongo/src/org/immutables/mongo/repository/RepositorySetup.java