Class OutboundConfig.Builder
java.lang.Object
io.helidon.security.providers.common.OutboundConfig.Builder
- All Implemented Interfaces:
Builder<OutboundConfig.Builder, OutboundConfig>, Supplier<OutboundConfig>
- Enclosing class:
OutboundConfig
public static final class OutboundConfig.Builder
extends Object
implements Builder<OutboundConfig.Builder, OutboundConfig>
OutboundConfig builder when not reading it from configuration.-
Method Summary
Modifier and TypeMethodDescriptionaddTarget(OutboundTarget config) Add a new target configuration.build()Build targets from this builder.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 OutboundConfigget()default OutboundConfig.Builderidentity()Instance of this builder as the correct type.default OutboundConfig.Builderupdate(Consumer<OutboundConfig.Builder> consumer) Update the builder in a fluent API way.
-
Method Details
-
addTarget
Add a new target configuration.- Parameters:
config- target to add- Returns:
- updated builder instance
-
build
Build targets from this builder.- Specified by:
buildin interfaceBuilder<OutboundConfig.Builder, OutboundConfig>- Returns:
- new
OutboundConfiginstance
-