Class AggregationConfig.Builder
java.lang.Object
io.helidon.telemetry.otelconfig.AggregationConfig.BuilderBase<AggregationConfig.Builder, AggregationConfig>
io.helidon.telemetry.otelconfig.AggregationConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<AggregationConfig.Builder, AggregationConfig>, Builder<AggregationConfig.Builder, AggregationConfig>, ConfigBuilderSupport.ConfiguredBuilder<AggregationConfig.Builder, AggregationConfig>, Supplier<AggregationConfig>
- Enclosing interface:
AggregationConfig
public static class AggregationConfig.Builder
extends AggregationConfig.BuilderBase<AggregationConfig.Builder, AggregationConfig>
implements Builder<AggregationConfig.Builder, AggregationConfig>
Fluent API builder for
AggregationConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class AggregationConfig.BuilderBase
AggregationConfig.BuilderBase.AggregationConfigImplModifier 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 AggregationConfig.BuilderBase
config, config, from, from, preBuildPrototype, toString, type, type, validatePrototypeModifier and TypeMethodDescriptionconfig()Configuration used to configure this instance.Update builder from configuration (node of this type).from(AggregationConfig prototype) Update this builder from an existing prototype instance.from(AggregationConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()type()Type of aggregation to apply.type(AggregationType type) Type of aggregation to apply.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 AggregationConfigget()default AggregationConfig.Builderidentity()Instance of this builder as the correct type.default AggregationConfig.Builderupdate(Consumer<AggregationConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault AggregationConfig.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<AggregationConfig.Builder, AggregationConfig>- 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<AggregationConfig.Builder, AggregationConfig>- Returns:
- instance of the built type
-