Class KeyPerformanceIndicatorMetricsConfig.Builder
java.lang.Object
io.helidon.metrics.api.KeyPerformanceIndicatorMetricsConfig.BuilderBase<KeyPerformanceIndicatorMetricsConfig.Builder, KeyPerformanceIndicatorMetricsConfig>
io.helidon.metrics.api.KeyPerformanceIndicatorMetricsConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<KeyPerformanceIndicatorMetricsConfig.Builder, KeyPerformanceIndicatorMetricsConfig>, Builder<KeyPerformanceIndicatorMetricsConfig.Builder, KeyPerformanceIndicatorMetricsConfig>, ConfigBuilderSupport.ConfiguredBuilder<KeyPerformanceIndicatorMetricsConfig.Builder, KeyPerformanceIndicatorMetricsConfig>, Supplier<KeyPerformanceIndicatorMetricsConfig>
- Enclosing interface:
KeyPerformanceIndicatorMetricsConfig
public static class KeyPerformanceIndicatorMetricsConfig.Builder
extends KeyPerformanceIndicatorMetricsConfig.BuilderBase<KeyPerformanceIndicatorMetricsConfig.Builder, KeyPerformanceIndicatorMetricsConfig>
implements Builder<KeyPerformanceIndicatorMetricsConfig.Builder, KeyPerformanceIndicatorMetricsConfig>
Fluent API builder for
KeyPerformanceIndicatorMetricsConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class KeyPerformanceIndicatorMetricsConfig.BuilderBase
KeyPerformanceIndicatorMetricsConfig.BuilderBase.KeyPerformanceIndicatorMetricsConfigImplModifier 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 KeyPerformanceIndicatorMetricsConfig.BuilderBase
config, config, extended, extended, from, from, longRunningRequestThreshold, longRunningRequestThreshold, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionconfig()Configuration used to configure this instance.Update builder from configuration (node of this type).booleanextended()Whether KPI extended metrics are enabled.extended(boolean extended) Whether KPI extended metrics are enabled.from(KeyPerformanceIndicatorMetricsConfig prototype) Update this builder from an existing prototype instance.from(KeyPerformanceIndicatorMetricsConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Threshold in ms that characterizes whether a request is long running.longRunningRequestThreshold(Duration longRunningRequestThreshold) Threshold in ms that characterizes whether a request is long running.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, updateMethods inherited from interface Prototype.Builder
self
-
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<KeyPerformanceIndicatorMetricsConfig.Builder, KeyPerformanceIndicatorMetricsConfig>- 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<KeyPerformanceIndicatorMetricsConfig.Builder, KeyPerformanceIndicatorMetricsConfig>- Returns:
- instance of the built type
-