Package org.apache.flink.configuration
Class ConfigOptions.ListConfigOptionBuilder<E>
- java.lang.Object
-
- org.apache.flink.configuration.ConfigOptions.ListConfigOptionBuilder<E>
-
- Type Parameters:
E
- list element type of the option
- Enclosing class:
- ConfigOptions
public static class ConfigOptions.ListConfigOptionBuilder<E> extends Object
Builder forConfigOption
of list of typeConfigOptions.ListConfigOptionBuilder
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigOption<List<E>>
defaultValues(E... values)
Creates a ConfigOption with the given default value.ConfigOption<List<E>>
noDefaultValue()
Creates a ConfigOption without a default value.
-
-
-
Method Detail
-
defaultValues
@SafeVarargs public final ConfigOption<List<E>> defaultValues(E... values)
Creates a ConfigOption with the given default value.- Parameters:
values
- The list of default values for the config option- Returns:
- The config option with the default value.
-
noDefaultValue
public ConfigOption<List<E>> noDefaultValue()
Creates a ConfigOption without a default value.- Returns:
- The config option without a default value.
-
-