Class SpanLimitsConfig.Builder
java.lang.Object
io.helidon.telemetry.otelconfig.SpanLimitsConfig.BuilderBase<SpanLimitsConfig.Builder, SpanLimitsConfig>
io.helidon.telemetry.otelconfig.SpanLimitsConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<SpanLimitsConfig.Builder, SpanLimitsConfig>, Builder<SpanLimitsConfig.Builder, SpanLimitsConfig>, ConfigBuilderSupport.ConfiguredBuilder<SpanLimitsConfig.Builder, SpanLimitsConfig>, Supplier<SpanLimitsConfig>
- Enclosing interface:
SpanLimitsConfig
public static class SpanLimitsConfig.Builder
extends SpanLimitsConfig.BuilderBase<SpanLimitsConfig.Builder, SpanLimitsConfig>
implements Builder<SpanLimitsConfig.Builder, SpanLimitsConfig>
Fluent API builder for
SpanLimitsConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class SpanLimitsConfig.BuilderBase
SpanLimitsConfig.BuilderBase.SpanLimitsConfigImplModifier 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 SpanLimitsConfig.BuilderBase
clearMaxAttributes, clearMaxAttributesPerEvent, clearMaxAttributesPerLink, clearMaxAttributeValueLength, clearMaxEvents, clearMaxLinks, config, config, from, from, maxAttributes, maxAttributes, maxAttributesPerEvent, maxAttributesPerEvent, maxAttributesPerLink, maxAttributesPerLink, maxAttributeValueLength, maxAttributeValueLength, maxEvents, maxEvents, maxLinks, maxLinks, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionClear existing value of maxAttributes.Clear existing value of maxAttributesPerEvent.Clear existing value of maxAttributesPerLink.Clear existing value of maxAttributeValueLength.Clear existing value of maxEvents.Clear existing value of maxLinks.config()Configuration used to configure this instance.Update builder from configuration (node of this type).from(SpanLimitsConfig prototype) Update this builder from an existing prototype instance.from(SpanLimitsConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Maximum number of attributes.maxAttributes(int maxAttributes) Maximum number of attributes.Maximum number of attributes per event.maxAttributesPerEvent(int maxAttributesPerEvent) Maximum number of attributes per event.Maximum number of attributes per link.maxAttributesPerLink(int maxAttributesPerLink) Maximum number of attributes per link.Maximum attribute value length.maxAttributeValueLength(int maxAttributeValueLength) Maximum attribute value length.Maximum number of events.maxEvents(int maxEvents) Maximum number of events.maxLinks()Maximum number of links.maxLinks(int maxLinks) Maximum number of links.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 SpanLimitsConfigget()default SpanLimitsConfig.Builderidentity()Instance of this builder as the correct type.default SpanLimitsConfig.Builderupdate(Consumer<SpanLimitsConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault SpanLimitsConfig.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<SpanLimitsConfig.Builder, SpanLimitsConfig>- 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<SpanLimitsConfig.Builder, SpanLimitsConfig>- Returns:
- instance of the built type
-