Class VsmfieldsConfig.Documenttype.Builder
java.lang.Object
com.yahoo.vespa.config.search.vsm.VsmfieldsConfig.Documenttype.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- VsmfieldsConfig.Documenttype
public static final class VsmfieldsConfig.Documenttype.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()index(VsmfieldsConfig.Documenttype.Index.Builder __builder) Add the given builder to this builder's list of Index buildersMake a new builder and run the supplied function on it before adding it to the listindex(List<VsmfieldsConfig.Documenttype.Index.Builder> __builders) Set the given list as this builder's list of Index builders
-
Field Details
-
index
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
name
-
index
public VsmfieldsConfig.Documenttype.Builder index(VsmfieldsConfig.Documenttype.Index.Builder __builder) Add the given builder to this builder's list of Index builders- Parameters:
__builder- a builder- Returns:
- this builder
-
index
public VsmfieldsConfig.Documenttype.Builder index(Consumer<VsmfieldsConfig.Documenttype.Index.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
-
index
public VsmfieldsConfig.Documenttype.Builder index(List<VsmfieldsConfig.Documenttype.Index.Builder> __builders) Set the given list as this builder's list of Index builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
build
-