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