Package com.yahoo.prelude.fastsearch
Class DocumentdbInfoConfig.Builder
java.lang.Object
com.yahoo.prelude.fastsearch.DocumentdbInfoConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- DocumentdbInfoConfig
public static final class DocumentdbInfoConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
final boolean
dispatchGetConfig
(com.yahoo.config.ConfigInstance.Producer producer) Add the given builder to this builder's list of Documentdb buildersMake a new builder and run the supplied function on it before adding it to the listdocumentdb
(List<DocumentdbInfoConfig.Documentdb.Builder> __builders) Set the given list as this builder's list of Documentdb buildersfinal boolean
final String
final String
final String
final void
setApplyOnRestart
(boolean applyOnRestart)
-
Field Details
-
documentdb
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
documentdb
Add the given builder to this builder's list of Documentdb builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
documentdb
public DocumentdbInfoConfig.Builder documentdb(Consumer<DocumentdbInfoConfig.Documentdb.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
-
documentdb
public DocumentdbInfoConfig.Builder documentdb(List<DocumentdbInfoConfig.Documentdb.Builder> __builders) Set the given list as this builder's list of Documentdb builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespace
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-