Package com.yahoo.search.config
Class IndexInfoConfig.Indexinfo.Builder
java.lang.Object
com.yahoo.search.config.IndexInfoConfig.Indexinfo.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- IndexInfoConfig.Indexinfo
public static final class IndexInfoConfig.Indexinfo.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalias
(IndexInfoConfig.Indexinfo.Alias.Builder __builder) Add the given builder to this builder's list of Alias buildersMake a new builder and run the supplied function on it before adding it to the listalias
(List<IndexInfoConfig.Indexinfo.Alias.Builder> __builders) Set the given list as this builder's list of Alias buildersbuild()
command
(IndexInfoConfig.Indexinfo.Command.Builder __builder) Add the given builder to this builder's list of Command buildersMake a new builder and run the supplied function on it before adding it to the listcommand
(List<IndexInfoConfig.Indexinfo.Command.Builder> __builders) Set the given list as this builder's list of Command builders
-
Field Details
-
command
-
alias
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
name
-
command
public IndexInfoConfig.Indexinfo.Builder command(IndexInfoConfig.Indexinfo.Command.Builder __builder) Add the given builder to this builder's list of Command builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
command
public IndexInfoConfig.Indexinfo.Builder command(Consumer<IndexInfoConfig.Indexinfo.Command.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
-
command
public IndexInfoConfig.Indexinfo.Builder command(List<IndexInfoConfig.Indexinfo.Command.Builder> __builders) Set the given list as this builder's list of Command builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
alias
Add the given builder to this builder's list of Alias builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
alias
public IndexInfoConfig.Indexinfo.Builder alias(Consumer<IndexInfoConfig.Indexinfo.Alias.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
-
alias
public IndexInfoConfig.Indexinfo.Builder alias(List<IndexInfoConfig.Indexinfo.Alias.Builder> __builders) Set the given list as this builder's list of Alias builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
-