Class ConfigDef.Builder

  • Enclosing class:
    ConfigDef

    public static class ConfigDef.Builder
    extends java.lang.Object
    Builder to build a configuration definition.
    • 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