Class ScopingConfig.Builder
java.lang.Object
io.helidon.metrics.api.ScopingConfig.BuilderBase<ScopingConfig.Builder, ScopingConfig>
io.helidon.metrics.api.ScopingConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<ScopingConfig.Builder, ScopingConfig>, Builder<ScopingConfig.Builder, ScopingConfig>, ConfigBuilderSupport.ConfiguredBuilder<ScopingConfig.Builder, ScopingConfig>, Supplier<ScopingConfig>
- Enclosing interface:
ScopingConfig
public static class ScopingConfig.Builder
extends ScopingConfig.BuilderBase<ScopingConfig.Builder, ScopingConfig>
implements Builder<ScopingConfig.Builder, ScopingConfig>
Fluent API builder for
ScopingConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class ScopingConfig.BuilderBase
ScopingConfig.BuilderBase.ScopingConfigImplModifier 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 ScopingConfig.BuilderBase
addScopes, clearDefaultValue, clearTagName, config, config, defaultValue, defaultValue, from, from, preBuildPrototype, putScope, putScope, scopes, scopes, tagName, tagName, toString, validatePrototypeModifier and TypeMethodDescriptionaddScopes(Map<String, ? extends ScopeConfig> scopes) Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores these settings, and this method will be removed.Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this method will be removed.Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this method will be removed.config()Configuration used to configure this instance.Update builder from configuration (node of this type).Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this method will be removed.defaultValue(String defaultValue) Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this method will be removed.from(ScopingConfig prototype) Update this builder from an existing prototype instance.from(ScopingConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.putScope(String key, ScopeConfig scope) Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores these settings, and this method will be removed.putScope(String key, Consumer<ScopeConfig.Builder> consumer) Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores these settings, and this method will be removed.scopes()Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores these settings, and this method will be removed.scopes(Map<String, ? extends ScopeConfig> scopes) Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores these settings, and this method will be removed.tagName()Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this method will be removed.Deprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores this value, and this method will be removed.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault ScopingConfigget()default ScopingConfig.Builderidentity()Instance of this builder as the correct type.default ScopingConfig.Builderupdate(Consumer<ScopingConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault ScopingConfig.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<ScopingConfig.Builder, ScopingConfig>- 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<ScopingConfig.Builder, ScopingConfig>- Returns:
- instance of the built type
-