Class ConfigObserverConfig.Builder
java.lang.Object
io.helidon.webserver.observe.ObserverConfigBase.BuilderBase<ConfigObserverConfig.Builder, ConfigObserverConfig>
io.helidon.webserver.observe.config.ConfigObserverConfig.BuilderBase<ConfigObserverConfig.Builder, ConfigObserverConfig>
io.helidon.webserver.observe.config.ConfigObserverConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<ConfigObserverConfig.Builder, ConfigObserverConfig>, Builder<ConfigObserverConfig.Builder, ConfigObserver>, ConfigBuilderSupport.ConfiguredBuilder<ConfigObserverConfig.Builder, ConfigObserverConfig>, Supplier<ConfigObserver>
- Enclosing interface:
ConfigObserverConfig
public static class ConfigObserverConfig.Builder
extends ConfigObserverConfig.BuilderBase<ConfigObserverConfig.Builder, ConfigObserverConfig>
implements Builder<ConfigObserverConfig.Builder, ConfigObserver>
Fluent API builder for
ConfigObserver.-
Nested Class Summary
Nested classes/interfaces inherited from class ConfigObserverConfig.BuilderBase
ConfigObserverConfig.BuilderBase.ConfigObserverConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Nested classes/interfaces inherited from class ObserverConfigBase.BuilderBase
ObserverConfigBase.BuilderBase.ObserverConfigBaseImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class ConfigObserverConfig.BuilderBase
addSafeKey, addSafeKeys, addSecret, addSecrets, clearSafeKeys, clearSecrets, config, endpoint, endpoint, from, from, permitAll, permitAll, preBuildPrototype, safeKeys, safeKeys, secrets, secrets, toString, unsafeValues, unsafeValues, validatePrototypeModifier and TypeMethodDescriptionaddSafeKey(String safeKey) Safe key patterns (regular expressions) to include in output.addSafeKeys(Set<String> safeKeys) Safe key patterns (regular expressions) to include in output.Secret patterns (regular expressions) to exclude from output.addSecrets(Set<String> secrets) Secret patterns (regular expressions) to exclude from output.Clear all safeKeys.Clear all secrets.Update builder from configuration (node of this type).endpoint()Endpoint this observer is available on.Endpoint this observer is available on.from(ConfigObserverConfig prototype) Update this builder from an existing prototype instance.from(ConfigObserverConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.booleanPermit all access, even when not authorized.permitAll(boolean permitAll) Permit all access, even when not authorized.protected voidHandles providers and decorators.safeKeys()Safe key patterns (regular expressions) to include in output.Safe key patterns (regular expressions) to include in output.secrets()Secret patterns (regular expressions) to exclude from output.Secret patterns (regular expressions) to exclude from output.toString()booleanWhether to include values that do not match configuredsafe-keyspatterns; values whose keys match configuredsecretspatterns are still obfuscated.unsafeValues(boolean unsafeValues) Whether to include values that do not match configuredsafe-keyspatterns; values whose keys match configuredsecretspatterns are still obfuscated.protected voidValidates required properties.Methods inherited from class ObserverConfigBase.BuilderBase
config, enabled, enabled, from, from, name, nameModifier and TypeMethodDescriptionconfig()The config instance used to configure this observer.booleanenabled()Whether this observer is enabled.enabled(boolean enabled) Whether this observer is enabled.from(ObserverConfigBase prototype) Update this builder from an existing prototype instance.from(ObserverConfigBase.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.name()Name of this observer.Name of this observer.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault ConfigObserverget()default ConfigObserverConfig.Builderidentity()Instance of this builder as the correct type.default ConfigObserverConfig.Builderupdate(Consumer<ConfigObserverConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault ConfigObserverConfig.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<ConfigObserverConfig.Builder, ConfigObserverConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<ConfigObserverConfig.Builder, ConfigObserver>- Returns:
- instance of the built type
-