Class ConfigDef.Builder
- java.lang.Object
-
- org.apache.bookkeeper.common.conf.ConfigDef.Builder
-
- Enclosing class:
- ConfigDef
public static class ConfigDef.Builder extends java.lang.Object
Builder to build a configuration definition.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigDef
build()
ConfigDef.Builder
withConfigKey(ConfigKey key)
Add the config key to the builder.ConfigDef.Builder
withConfigKeyGroup(ConfigKeyGroup group)
Add the config key group to the builder.
-
-
-
Method Detail
-
withConfigKeyGroup
public ConfigDef.Builder withConfigKeyGroup(ConfigKeyGroup group)
Add the config key group to the builder.- Parameters:
group
- config key group- Returns:
- builder to build this configuration def
-
withConfigKey
public ConfigDef.Builder withConfigKey(ConfigKey key)
Add the config key to the builder.- Parameters:
key
- the key to add to the builder.- Returns:
- builder to build this configuration def
-
build
public ConfigDef build()
-
-