public interface MeterBuilder
A builder for a
Meter.-
Method Summary
Modifier and TypeMethodDescriptionbuild()withDescription(String description) withMeterAttribute(String key, String value) An attribute associated with the meter.
-
Method Details
-
build
Meter build()- Returns:
- the meter built.
-
withDescription
- Parameters:
description- the description.- Returns:
- the
MeterBuilder
-
withMeterAttribute
An attribute associated with the meter.- Parameters:
key- the key.value- the value.- Returns:
- the
MeterBuilder
-