Class ConfigKeyGroup.ConfigKeyGroupBuilder
- java.lang.Object
-
- org.apache.bookkeeper.common.conf.ConfigKeyGroup.ConfigKeyGroupBuilder
-
- Enclosing class:
- ConfigKeyGroup
public static class ConfigKeyGroup.ConfigKeyGroupBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ConfigKeyGroupBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigKeyGroup
build()
ConfigKeyGroup.ConfigKeyGroupBuilder
children(java.util.List<java.lang.String> children)
The list of sub key-groups of this key group.ConfigKeyGroup.ConfigKeyGroupBuilder
description(java.lang.String description)
Description of the key group.ConfigKeyGroup.ConfigKeyGroupBuilder
name(java.lang.String name)
Name of the key group.ConfigKeyGroup.ConfigKeyGroupBuilder
order(int order)
The order of the key-group in a configuration.java.lang.String
toString()
-
-
-
Method Detail
-
name
public ConfigKeyGroup.ConfigKeyGroupBuilder name(java.lang.String name)
Name of the key group.- Returns:
this
.
-
description
public ConfigKeyGroup.ConfigKeyGroupBuilder description(java.lang.String description)
Description of the key group.- Returns:
this
.
-
children
public ConfigKeyGroup.ConfigKeyGroupBuilder children(java.util.List<java.lang.String> children)
The list of sub key-groups of this key group.- Returns:
this
.
-
order
public ConfigKeyGroup.ConfigKeyGroupBuilder order(int order)
The order of the key-group in a configuration.- Returns:
this
.
-
build
public ConfigKeyGroup build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-