Class ScopeConfig.Builder
java.lang.Object
io.helidon.metrics.api.ScopeConfig.BuilderBase<ScopeConfig.Builder, ScopeConfig>
io.helidon.metrics.api.ScopeConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<ScopeConfig.Builder, ScopeConfig>, Builder<ScopeConfig.Builder, ScopeConfig>, ConfigBuilderSupport.ConfiguredBuilder<ScopeConfig.Builder, ScopeConfig>, Supplier<ScopeConfig>
- Enclosing interface:
ScopeConfig
public static class ScopeConfig.Builder
extends ScopeConfig.BuilderBase<ScopeConfig.Builder, ScopeConfig>
implements Builder<ScopeConfig.Builder, ScopeConfig>
Fluent API builder for
ScopeConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class ScopeConfig.BuilderBase
ScopeConfig.BuilderBase.ScopeConfigImplModifier 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 ScopeConfig.BuilderBase
clearExclude, clearInclude, config, config, enabled, enabled, exclude, exclude, exclude, from, from, include, include, include, name, name, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionDeprecated, 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).booleanenabled()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.enabled(boolean enabled) 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.exclude()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.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(ScopeConfig prototype) Update this builder from an existing prototype instance.from(ScopeConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.include()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.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.name()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.protected voidHandles providers and decorators.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 ScopeConfigget()default ScopeConfig.Builderidentity()Instance of this builder as the correct type.default ScopeConfig.Builderupdate(Consumer<ScopeConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault ScopeConfig.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<ScopeConfig.Builder, ScopeConfig>- 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<ScopeConfig.Builder, ScopeConfig>- Returns:
- instance of the built type
-