Package com.yahoo.search.federation
Class FederationConfig.Target.Builder
- java.lang.Object
-
- com.yahoo.search.federation.FederationConfig.Target.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- FederationConfig.Target
public static class FederationConfig.Target.Builder extends java.lang.Object implements com.yahoo.config.ConfigBuilder
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<FederationConfig.Target.SearchChain.Builder>
searchChain
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FederationConfig.Target config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FederationConfig.Target
build()
FederationConfig.Target.Builder
id(java.lang.String __value)
FederationConfig.Target.Builder
searchChain(FederationConfig.Target.SearchChain.Builder __builder)
Add the given builder to this builder's list of SearchChain buildersFederationConfig.Target.Builder
searchChain(java.util.List<FederationConfig.Target.SearchChain.Builder> __builders)
Set the given list as this builder's list of SearchChain buildersFederationConfig.Target.Builder
useByDefault(boolean __value)
-
-
-
Field Detail
-
searchChain
public java.util.List<FederationConfig.Target.SearchChain.Builder> searchChain
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FederationConfig.Target config)
-
-
Method Detail
-
id
public FederationConfig.Target.Builder id(java.lang.String __value)
-
useByDefault
public FederationConfig.Target.Builder useByDefault(boolean __value)
-
searchChain
public FederationConfig.Target.Builder searchChain(FederationConfig.Target.SearchChain.Builder __builder)
Add the given builder to this builder's list of SearchChain builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
searchChain
public FederationConfig.Target.Builder searchChain(java.util.List<FederationConfig.Target.SearchChain.Builder> __builders)
Set the given list as this builder's list of SearchChain builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
public FederationConfig.Target build()
-
-