Class QueryProfilesConfig.Queryprofile.Builder
java.lang.Object
com.yahoo.search.query.profile.config.QueryProfilesConfig.Queryprofile.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- QueryProfilesConfig.Queryprofile
public static final class QueryProfilesConfig.Queryprofile.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
dimensions
(String __value) dimensions
(Collection<String> __values) inherit
(Collection<String> __values) Add the given builder to this builder's list of Property buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Property buildersAdd the given builder to this builder's list of Queryprofilevariant buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Queryprofilevariant buildersAdd the given builder to this builder's list of Reference buildersMake a new builder and run the supplied function on it before adding it to the listSet the given list as this builder's list of Reference builders
-
Field Details
-
inherit
-
dimensions
-
property
-
reference
-
queryprofilevariant
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
id
-
type
-
inherit
-
inherit
-
dimensions
-
dimensions
-
property
public QueryProfilesConfig.Queryprofile.Builder property(QueryProfilesConfig.Queryprofile.Property.Builder __builder) Add the given builder to this builder's list of Property builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
property
public QueryProfilesConfig.Queryprofile.Builder property(Consumer<QueryProfilesConfig.Queryprofile.Property.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
-
property
public QueryProfilesConfig.Queryprofile.Builder property(List<QueryProfilesConfig.Queryprofile.Property.Builder> __builders) Set the given list as this builder's list of Property builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
reference
public QueryProfilesConfig.Queryprofile.Builder reference(QueryProfilesConfig.Queryprofile.Reference.Builder __builder) Add the given builder to this builder's list of Reference builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
reference
public QueryProfilesConfig.Queryprofile.Builder reference(Consumer<QueryProfilesConfig.Queryprofile.Reference.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
-
reference
public QueryProfilesConfig.Queryprofile.Builder reference(List<QueryProfilesConfig.Queryprofile.Reference.Builder> __builders) Set the given list as this builder's list of Reference builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
queryprofilevariant
public QueryProfilesConfig.Queryprofile.Builder queryprofilevariant(QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder __builder) Add the given builder to this builder's list of Queryprofilevariant builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
queryprofilevariant
public QueryProfilesConfig.Queryprofile.Builder queryprofilevariant(Consumer<QueryProfilesConfig.Queryprofile.Queryprofilevariant.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
-
queryprofilevariant
public QueryProfilesConfig.Queryprofile.Builder queryprofilevariant(List<QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder> __builders) Set the given list as this builder's list of Queryprofilevariant builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
-