Class QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder
java.lang.Object
com.yahoo.search.query.profile.config.QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- QueryProfilesConfig.Queryprofile.Queryprofilevariant
public static class QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
fordimensionvalues
(String __value) fordimensionvalues
(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 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
-
fordimensionvalues
-
inherit
-
property
-
reference
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
fordimensionvalues
public QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder fordimensionvalues(String __value) -
fordimensionvalues
public QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder fordimensionvalues(Collection<String> __values) -
inherit
-
inherit
public QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder inherit(Collection<String> __values) -
property
public QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder property(QueryProfilesConfig.Queryprofile.Queryprofilevariant.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.Queryprofilevariant.Builder property(Consumer<QueryProfilesConfig.Queryprofile.Queryprofilevariant.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.Queryprofilevariant.Builder property(List<QueryProfilesConfig.Queryprofile.Queryprofilevariant.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.Queryprofilevariant.Builder reference(QueryProfilesConfig.Queryprofile.Queryprofilevariant.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.Queryprofilevariant.Builder reference(Consumer<QueryProfilesConfig.Queryprofile.Queryprofilevariant.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.Queryprofilevariant.Builder reference(List<QueryProfilesConfig.Queryprofile.Queryprofilevariant.Reference.Builder> __builders) Set the given list as this builder's list of Reference builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
-