Class MicrometerFeature.Builder
java.lang.Object
io.helidon.webserver.servicecommon.HelidonFeatureSupport.Builder<MicrometerFeature.Builder,MicrometerFeature>
io.helidon.integrations.micrometer.MicrometerFeature.Builder
- All Implemented Interfaces:
Builder<MicrometerFeature.Builder,
,MicrometerFeature> Supplier<MicrometerFeature>
- Enclosing class:
MicrometerFeature
public static class MicrometerFeature.Builder
extends HelidonFeatureSupport.Builder<MicrometerFeature.Builder,MicrometerFeature>
implements Builder<MicrometerFeature.Builder,MicrometerFeature>
Fluid builder for
MicrometerSupport
objects.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.meterRegistryFactorySupplier
(MeterRegistryFactory meterRegistryFactory) Assigns aMeterRegistryFactory
.Methods inherited from class io.helidon.webserver.servicecommon.HelidonFeatureSupport.Builder
config, config, crossOriginConfig, restServiceSettings, webContext, webContextConfig
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<MicrometerFeature.Builder,
MicrometerFeature> - Returns:
- instance of the built type
-
meterRegistryFactorySupplier
public MicrometerFeature.Builder meterRegistryFactorySupplier(MeterRegistryFactory meterRegistryFactory) Assigns aMeterRegistryFactory
.- Parameters:
meterRegistryFactory
- the MeterRegistry to use- Returns:
- updated builder instance
-