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 class QueryProfilesConfig.Queryprofile.Builder extends java.lang.Object implements com.yahoo.config.ConfigBuilder
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.lang.String>
dimensions
java.util.List<java.lang.String>
inherit
java.util.List<QueryProfilesConfig.Queryprofile.Property.Builder>
property
java.util.List<QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder>
queryprofilevariant
java.util.List<QueryProfilesConfig.Queryprofile.Reference.Builder>
reference
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(QueryProfilesConfig.Queryprofile config)
-
Method Summary
-
-
-
Field Detail
-
inherit
public java.util.List<java.lang.String> inherit
-
dimensions
public java.util.List<java.lang.String> dimensions
-
property
public java.util.List<QueryProfilesConfig.Queryprofile.Property.Builder> property
-
reference
public java.util.List<QueryProfilesConfig.Queryprofile.Reference.Builder> reference
-
queryprofilevariant
public java.util.List<QueryProfilesConfig.Queryprofile.Queryprofilevariant.Builder> queryprofilevariant
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(QueryProfilesConfig.Queryprofile config)
-
-
Method Detail
-
id
public QueryProfilesConfig.Queryprofile.Builder id(java.lang.String __value)
-
type
public QueryProfilesConfig.Queryprofile.Builder type(java.lang.String __value)
-
inherit
public QueryProfilesConfig.Queryprofile.Builder inherit(java.lang.String __value)
-
inherit
public QueryProfilesConfig.Queryprofile.Builder inherit(java.util.Collection<java.lang.String> __values)
-
dimensions
public QueryProfilesConfig.Queryprofile.Builder dimensions(java.lang.String __value)
-
dimensions
public QueryProfilesConfig.Queryprofile.Builder dimensions(java.util.Collection<java.lang.String> __values)
-
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(java.util.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(java.util.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(java.util.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
public QueryProfilesConfig.Queryprofile build()
-
-