public QueryProfileRequestBuilder addSynonymCategories(final String category0, final String... categories) {
        synonymCategories.add(category0);
        synonymCategories.addAll(Arrays.asList(categories));
        return this;
    }
public QueryProfileRequestBuilder addSynonymCategories(final String category0, final String... categories) {
        synonymCategories.add(category0);
        synonymCategories.addAll(Arrays.asList(categories));
        return this;
    }
public QueryProfileRequestBuilder addSynonymCategories ( final String category0 , final String ... categories ) { synonymCategories . add ( category0 ) ; synonymCategories . addAll ( Arrays . asList ( categories ) ) ; return this ; }
Adds categories to the synonym_categories parameter

@param category0  The first category to add
@param categories Additional categories to add
@return this
Adds categories to the synonym_categories parameter