T - atomic type of the optionpublic static class ConfigOptions.TypedConfigOptionBuilder<T> extends Object
ConfigOption with a defined atomic type.| 限定符和类型 | 方法和说明 |
|---|---|
ConfigOptions.ListConfigOptionBuilder<T> |
asList()
Defines that the option's type should be a list of previously defined atomic type.
|
ConfigOption<T> |
defaultValue(T value)
Creates a ConfigOption with the given default value.
|
ConfigOption<T> |
noDefaultValue()
Creates a ConfigOption without a default value.
|
public ConfigOptions.ListConfigOptionBuilder<T> asList()
public ConfigOption<T> defaultValue(T value)
value - The default value for the config optionpublic ConfigOption<T> noDefaultValue()
Copyright © 2023 The Apache Software Foundation. All rights reserved.