Package io.helidon.telemetry.otelconfig
Class ZipkinExporterConfig.BuilderBase<BUILDER extends ZipkinExporterConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ZipkinExporterConfig>
java.lang.Object
io.helidon.telemetry.otelconfig.ZipkinExporterConfig.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER- type of the builder extending this abstract builderPROTOTYPE- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,,PROTOTYPE> ConfigBuilderSupport.ConfiguredBuilder<BUILDER,,PROTOTYPE> ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
- Direct Known Subclasses:
ZipkinExporterConfig.Builder
- Enclosing interface:
ZipkinExporterConfig
public abstract static class ZipkinExporterConfig.BuilderBase<BUILDER extends ZipkinExporterConfig.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ZipkinExporterConfig>
extends Object
implements ConfigBuilderSupport.ConfiguredBuilder<BUILDER,PROTOTYPE>
Fluent API builder base for
ZipkinExporterConfig.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClear existing value of compression.Clear existing value of encoder.Clear existing value of endpoint.Clear existing value of localIpAddressSupplier.Clear existing value of meterProvider.Clear existing value of sender.Clear existing value of timeout.Compression type.compression(CompressionType compression) Compression type.config()Configuration used to configure this instance.Deprecated.Update builder from configuration (node of this type).Optional<zipkin2.codec.SpanBytesEncoder> encoder()Encoder type.encoder(zipkin2.codec.SpanBytesEncoder encoder) Encoder type.endpoint()Collector endpoint to which this exporter should transmit.Collector endpoint to which this exporter should transmit.from(ZipkinExporterConfig prototype) Update this builder from an existing prototype instance.from(ZipkinExporterConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Supplier of a local IP address.localIpAddressSupplier(Supplier<InetAddress> localIpAddressSupplier) Supplier of a local IP address.Optional<io.opentelemetry.api.metrics.MeterProvider> Meter provider.meterProvider(io.opentelemetry.api.metrics.MeterProvider meterProvider) Meter provider.protected voidHandles providers and decorators.sender()Zipkin sender.Zipkin sender.timeout()Exporter timeout.Exporter timeout.toString()protected voidValidates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
config
Deprecated.Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.ConfiguredBuilder<BUILDER extends ZipkinExporterConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ZipkinExporterConfig> - Parameters:
config- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
config
Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.ConfiguredBuilder<BUILDER extends ZipkinExporterConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ZipkinExporterConfig> - Parameters:
config- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
clearEndpoint
Clear existing value of endpoint.- Returns:
- updated builder instance
- See Also:
-
endpoint
Collector endpoint to which this exporter should transmit.- Parameters:
endpoint- collector endpoint- Returns:
- updated builder instance
- See Also:
-
clearEncoder
Clear existing value of encoder.- Returns:
- updated builder instance
- See Also:
-
encoder
Encoder type.- Parameters:
encoder- encoder type.- Returns:
- updated builder instance
- See Also:
-
clearCompression
Clear existing value of compression.- Returns:
- updated builder instance
- See Also:
-
compression
Compression type.- Parameters:
compression- compression type- Returns:
- updated builder instance
- See Also:
-
clearTimeout
Clear existing value of timeout.- Returns:
- updated builder instance
- See Also:
-
timeout
Exporter timeout.- Parameters:
timeout- exporter timeout- Returns:
- updated builder instance
- See Also:
-
clearSender
Clear existing value of sender.- Returns:
- updated builder instance
- See Also:
-
sender
Zipkin sender.- Parameters:
sender- Zipkin sender- Returns:
- updated builder instance
- See Also:
-
clearLocalIpAddressSupplier
Clear existing value of localIpAddressSupplier.- Returns:
- updated builder instance
- See Also:
-
localIpAddressSupplier
Supplier of a local IP address.- Parameters:
localIpAddressSupplier- supplier of a local IP address- Returns:
- updated builder instance
- See Also:
-
clearMeterProvider
Clear existing value of meterProvider.- Returns:
- updated builder instance
- See Also:
-
meterProvider
Meter provider.- Parameters:
meterProvider- meter provider- Returns:
- updated builder instance
- See Also:
-
endpoint
Collector endpoint to which this exporter should transmit.- Returns:
- collector endpoint
-
encoder
Encoder type.- Returns:
- encoder type.
-
compression
Compression type.- Returns:
- compression type
-
timeout
Exporter timeout.- Returns:
- exporter timeout
-
sender
Zipkin sender.- Returns:
- Zipkin sender
-
localIpAddressSupplier
Supplier of a local IP address.- Returns:
- supplier of a local IP address
-
meterProvider
Meter provider.- Returns:
- meter provider
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties. -
config
Configuration used to configure this instance.- Returns:
- config instance
-
config(io.helidon.config.Config)