Package io.helidon.tracing.config
Class SpanLogTracingConfig.Builder
- java.lang.Object
-
- io.helidon.tracing.config.SpanLogTracingConfig.Builder
-
- All Implemented Interfaces:
Builder<SpanLogTracingConfig>
,Supplier<SpanLogTracingConfig>
- Enclosing class:
- SpanLogTracingConfig
public static final class SpanLogTracingConfig.Builder extends Object implements Builder<SpanLogTracingConfig>
A fluent API builder forSpanLogTracingConfig
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpanLogTracingConfig
build()
Build the instance from this builder.SpanLogTracingConfig.Builder
config(Config config)
Update this builder fromConfig
.SpanLogTracingConfig.Builder
enabled(boolean enabled)
Configure whether this traced span log is enabled or disabled.
-
-
-
Method Detail
-
build
public SpanLogTracingConfig build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<SpanLogTracingConfig>
- Returns:
- instance of the built type
-
enabled
public SpanLogTracingConfig.Builder enabled(boolean enabled)
Configure whether this traced span log is enabled or disabled.- Parameters:
enabled
- if disabled, this span and all logs will be disabled- Returns:
- updated builder instance
-
config
public SpanLogTracingConfig.Builder config(Config config)
Update this builder fromConfig
.- Parameters:
config
- config of a traced span log- Returns:
- updated builder instance
-
-