Class ProcessorConfig.Builder
java.lang.Object
io.helidon.telemetry.otelconfig.ProcessorConfig.BuilderBase<ProcessorConfig.Builder, ProcessorConfig>
io.helidon.telemetry.otelconfig.ProcessorConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<ProcessorConfig.Builder, ProcessorConfig>, Builder<ProcessorConfig.Builder, ProcessorConfig>, ConfigBuilderSupport.ConfiguredBuilder<ProcessorConfig.Builder, ProcessorConfig>, Supplier<ProcessorConfig>
- Enclosing interface:
ProcessorConfig
public static class ProcessorConfig.Builder
extends ProcessorConfig.BuilderBase<ProcessorConfig.Builder, ProcessorConfig>
implements Builder<ProcessorConfig.Builder, ProcessorConfig>
Fluent API builder for
ProcessorConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class ProcessorConfig.BuilderBase
ProcessorConfig.BuilderBase.ProcessorConfigImplModifier 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 ProcessorConfig.BuilderBase
addExporters, clearExporters, config, config, exporters, exporters, from, from, preBuildPrototype, toString, type, type, validatePrototypeModifier and TypeMethodDescriptionaddExporters(List<String> exporters) Name(s) of the exporter(s) this processor should use; specifying no names uses all configured exporters (or if no exporters are configured, the default OpenTelemetry exporter(s)).Clear all exporters.config()Configuration used to configure this instance.Update builder from configuration (node of this type).Name(s) of the exporter(s) this processor should use; specifying no names uses all configured exporters (or if no exporters are configured, the default OpenTelemetry exporter(s)).Name(s) of the exporter(s) this processor should use; specifying no names uses all configured exporters (or if no exporters are configured, the default OpenTelemetry exporter(s)).from(ProcessorConfig prototype) Update this builder from an existing prototype instance.from(ProcessorConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()type()Processor type.type(ProcessorType type) Processor type.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 ProcessorConfigget()default ProcessorConfig.Builderidentity()Instance of this builder as the correct type.default ProcessorConfig.Builderupdate(Consumer<ProcessorConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault ProcessorConfig.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<ProcessorConfig.Builder, ProcessorConfig>- 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<ProcessorConfig.Builder, ProcessorConfig>- Returns:
- instance of the built type
-