Package com.yahoo.container
Class QrConfig.Builder
- java.lang.Object
-
- com.yahoo.container.QrConfig.Builder
-
-
Field Summary
Fields Modifier and Type Field Description QrConfig.Filedistributor.Builder
filedistributor
QrConfig.Rpc.Builder
rpc
QrConfig.Shutdown.Builder
shutdown
-
Method Summary
-
-
-
Field Detail
-
filedistributor
public QrConfig.Filedistributor.Builder filedistributor
-
rpc
public QrConfig.Rpc.Builder rpc
-
shutdown
public QrConfig.Shutdown.Builder shutdown
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(QrConfig config)
-
-
Method Detail
-
filedistributor
public QrConfig.Builder filedistributor(QrConfig.Filedistributor.Builder __builder)
-
filedistributor
public QrConfig.Builder filedistributor(Consumer<QrConfig.Filedistributor.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
-
rpc
public QrConfig.Builder rpc(QrConfig.Rpc.Builder __builder)
-
rpc
public QrConfig.Builder rpc(Consumer<QrConfig.Rpc.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
-
discriminator
public QrConfig.Builder discriminator(String __value)
-
nodeIndex
public QrConfig.Builder nodeIndex(int __value)
-
restartOnDeploy
public QrConfig.Builder restartOnDeploy(boolean __value)
-
shutdown
public QrConfig.Builder shutdown(QrConfig.Shutdown.Builder __builder)
-
shutdown
public QrConfig.Builder shutdown(Consumer<QrConfig.Shutdown.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
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
- Specified by:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
public final String getDefMd5()
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
public final String getDefName()
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
public final String 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
public QrConfig build()
-
-