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 class
Generated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.Compression type.compression
(CompressionType compression) Compression type.config()
If this instance was configured, this would be the config instance used.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 void
Handles providers and decorators.sender()
Zipkin sender.Zipkin sender.timeout()
Exporter timeout.Exporter timeout.toString()
protected void
Validates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
config
in 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:
config
in 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 this property.- 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 this property.- Returns:
- updated builder instance
- See Also:
-
encoder
Encoder type.- Parameters:
encoder
- encoder type.- Returns:
- updated builder instance
- See Also:
-
clearCompression
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
compression
Compression type.- Parameters:
compression
- compression type- Returns:
- updated builder instance
- See Also:
-
clearTimeout
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
timeout
Exporter timeout.- Parameters:
timeout
- exporter timeout- Returns:
- updated builder instance
- See Also:
-
clearSender
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
sender
Zipkin sender.- Parameters:
sender
- Zipkin sender- Returns:
- updated builder instance
- See Also:
-
clearLocalIpAddressSupplier
Clear existing value of this property.- 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 this property.- 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:
- the endpoint
-
encoder
Encoder type.- Returns:
- the encoder
-
compression
Compression type.- Returns:
- the compression
-
timeout
Exporter timeout.- Returns:
- the timeout
-
sender
Zipkin sender.- Returns:
- the sender
-
localIpAddressSupplier
Supplier of a local IP address.- Returns:
- the local ip address supplier
-
meterProvider
Meter provider.- Returns:
- the meter provider
-
config
If this instance was configured, this would be the config instance used.- Returns:
- config node used to configure this builder, or empty if not configured
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-
config(io.helidon.config.Config)