Class QueryProfilesConfig.Queryprofiletype.Builder
- java.lang.Object
-
- com.yahoo.search.query.profile.config.QueryProfilesConfig.Queryprofiletype.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- QueryProfilesConfig.Queryprofiletype
public static class QueryProfilesConfig.Queryprofiletype.Builder extends Object implements com.yahoo.config.ConfigBuilder
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(QueryProfilesConfig.Queryprofiletype config)
-
Method Summary
-
-
-
Field Detail
-
field
public List<QueryProfilesConfig.Queryprofiletype.Field.Builder> field
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(QueryProfilesConfig.Queryprofiletype config)
-
-
Method Detail
-
id
public QueryProfilesConfig.Queryprofiletype.Builder id(String __value)
-
strict
public QueryProfilesConfig.Queryprofiletype.Builder strict(boolean __value)
-
matchaspath
public QueryProfilesConfig.Queryprofiletype.Builder matchaspath(boolean __value)
-
inherit
public QueryProfilesConfig.Queryprofiletype.Builder inherit(String __value)
-
inherit
public QueryProfilesConfig.Queryprofiletype.Builder inherit(Collection<String> __values)
-
field
public QueryProfilesConfig.Queryprofiletype.Builder field(QueryProfilesConfig.Queryprofiletype.Field.Builder __builder)
Add the given builder to this builder's list of Field builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
field
public QueryProfilesConfig.Queryprofiletype.Builder field(Consumer<QueryProfilesConfig.Queryprofiletype.Field.Builder> __func)
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func
- lambda that modifies the given builder- Returns:
- this builder
-
field
public QueryProfilesConfig.Queryprofiletype.Builder field(List<QueryProfilesConfig.Queryprofiletype.Field.Builder> __builders)
Set the given list as this builder's list of Field builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
public QueryProfilesConfig.Queryprofiletype build()
-
-