Package org.apache.flink.configuration
Class ConfigOptions.TypedConfigOptionBuilder<T>
- java.lang.Object
-
- org.apache.flink.configuration.ConfigOptions.TypedConfigOptionBuilder<T>
-
- Type Parameters:
T- atomic type of the option
- Enclosing class:
- ConfigOptions
public static class ConfigOptions.TypedConfigOptionBuilder<T> extends Object
Builder forConfigOptionwith a defined atomic type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
asList
public ConfigOptions.ListConfigOptionBuilder<T> asList()
Defines that the option's type should be a list of previously defined atomic type.
-
defaultValue
public ConfigOption<T> defaultValue(T value)
Creates a ConfigOption with the given default value.- Parameters:
value- The default value for the config option- Returns:
- The config option with the default value.
-
noDefaultValue
public ConfigOption<T> noDefaultValue()
Creates a ConfigOption without a default value.- Returns:
- The config option without a default value.
-
-