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 |
---|---|
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 © 2014–2024 The Apache Software Foundation. All rights reserved.