Class ConfigContent.NodeContent.Builder
java.lang.Object
io.helidon.config.spi.ConfigContent.Builder<ConfigContent.NodeContent.Builder>
io.helidon.config.spi.ConfigContent.NodeContent.Builder
- All Implemented Interfaces:
Builder<ConfigContent.NodeContent.Builder, ConfigContent.NodeContent>, Supplier<ConfigContent.NodeContent>
- Enclosing interface:
ConfigContent.NodeContent
public static class ConfigContent.NodeContent.Builder
extends ConfigContent.Builder<ConfigContent.NodeContent.Builder>
implements Builder<ConfigContent.NodeContent.Builder, ConfigContent.NodeContent>
Fluent API builder for
ConfigContent.NodeContent.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.node(ConfigNode.ObjectNode rootNode) Node with the configuration of this content.Methods inherited from class ConfigContent.Builder
stampModifier and TypeMethodDescriptionContent stamp.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault ConfigContent.NodeContentget()identity()Instance of this builder as the correct type.update(Consumer<ConfigContent.NodeContent.Builder> consumer) Update the builder in a fluent API way.
-
Method Details
-
node
Node with the configuration of this content.- Parameters:
rootNode- the root node that links the configuration tree of this source- Returns:
- updated builder instance
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<ConfigContent.NodeContent.Builder, ConfigContent.NodeContent>- Returns:
- instance of the built type
-