build

abstract fun build(): T

Builds and returns the metric instance.

Return

A fully constructed collector instance of type T.