class ImmutableSearchResultBuilder implements SearchResultBuilder {

    @Override
    public SearchResult build() {
        final JsonArray searchResultsJsonArray = jsonArrayBuilder.build();
        return ImmutableSearchResult.of(searchResultsJsonArray, offset, cursor);
    }

    private  ImmutableSearchResultBuilder(final JsonArrayBuilder theJsonArrayBuilder);

}