Interface MetricsSupport.Builder<T extends MetricsSupport>

    • Method Detail

      • build

        T build()
        Returns the new MetricsSupport instance according to the builder's settings.
        Specified by:
        build in interface Builder<T extends MetricsSupport>
        Returns:
        the new metrics support
      • metricsSettings

        MetricsSupport.Builder<T> metricsSettings​(MetricsSettings.Builder metricsSettingsBuilder)
        Assigns MetricsSettings which will be used in creating the MetricsSupport instance at build-time.
        Parameters:
        metricsSettingsBuilder - the metrics settings to assign for use in building the MetricsSupport instance
        Returns:
        updated builder
      • restServiceSettings

        MetricsSupport.Builder<T> restServiceSettings​(RestServiceSettings.Builder restServiceSettingsBuilder)
        Set the REST service settings.
        Parameters:
        restServiceSettingsBuilder - REST service settings to use
        Returns:
        updated builder