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 final class QueryProfilesConfig.Queryprofiletype.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Add the given builder to this builder's list of Field buildersMake a new builder and run the supplied function on it before adding it to the listfield
(List<QueryProfilesConfig.Queryprofiletype.Field.Builder> __builders) Set the given list as this builder's list of Field buildersinherit
(Collection<String> __values) matchaspath
(boolean __value) strict
(boolean __value)
-
Field Details
-
inherit
-
field
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
id
-
strict
-
matchaspath
-
inherit
-
inherit
-
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
-