Class Base2ExponentialHistogramAggregationConfig.Builder
java.lang.Object
io.helidon.telemetry.otelconfig.Base2ExponentialHistogramAggregationConfig.BuilderBase<Base2ExponentialHistogramAggregationConfig.Builder, Base2ExponentialHistogramAggregationConfig>
io.helidon.telemetry.otelconfig.Base2ExponentialHistogramAggregationConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<Base2ExponentialHistogramAggregationConfig.Builder, Base2ExponentialHistogramAggregationConfig>, Builder<Base2ExponentialHistogramAggregationConfig.Builder, Base2ExponentialHistogramAggregationConfig>, ConfigBuilderSupport.ConfiguredBuilder<Base2ExponentialHistogramAggregationConfig.Builder, Base2ExponentialHistogramAggregationConfig>, Supplier<Base2ExponentialHistogramAggregationConfig>
- Enclosing interface:
Base2ExponentialHistogramAggregationConfig
public static class Base2ExponentialHistogramAggregationConfig.Builder
extends Base2ExponentialHistogramAggregationConfig.BuilderBase<Base2ExponentialHistogramAggregationConfig.Builder, Base2ExponentialHistogramAggregationConfig>
implements Builder<Base2ExponentialHistogramAggregationConfig.Builder, Base2ExponentialHistogramAggregationConfig>
Fluent API builder for
Base2ExponentialHistogramAggregationConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class Base2ExponentialHistogramAggregationConfig.BuilderBase
Base2ExponentialHistogramAggregationConfig.BuilderBase.Base2ExponentialHistogramAggregationConfigImplModifier 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 Base2ExponentialHistogramAggregationConfig.BuilderBase
clearMaxBuckets, clearMaxScale, config, config, from, from, maxBuckets, maxBuckets, maxScale, maxScale, preBuildPrototype, recordMinMax, recordMinMax, toString, validatePrototypeModifier and TypeMethodDescriptionClear existing value of maxBuckets.Clear existing value of maxScale.config()Configuration used to configure this instance.Update builder from configuration (node of this type).from(Base2ExponentialHistogramAggregationConfig prototype) Update this builder from an existing prototype instance.from(Base2ExponentialHistogramAggregationConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Maximum number of buckets.maxBuckets(int maxBuckets) Maximum number of buckets.maxScale()Maximum scale.maxScale(int maxScale) Maximum scale.protected voidHandles providers and decorators.booleanWhether the min and max should be recorded.recordMinMax(boolean recordMinMax) Whether the min and max should be recorded.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<Base2ExponentialHistogramAggregationConfig.Builder, Base2ExponentialHistogramAggregationConfig>- 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<Base2ExponentialHistogramAggregationConfig.Builder, Base2ExponentialHistogramAggregationConfig>- Returns:
- instance of the built type
-