T
- atomic type of the optionpublic static class ConfigOptions.TypedConfigOptionBuilder<T> extends Object
ConfigOption
with a defined atomic type.Modifier and Type | Method and Description |
---|---|
ConfigOption<T> |
defaultValue(T value)
Creates a ConfigOption with the given default value.
|
ConfigOption<T> |
noDefaultValue()
Creates a ConfigOption without a default value.
|
public ConfigOption<T> defaultValue(T value)
value
- The default value for the config optionpublic ConfigOption<T> noDefaultValue()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.