Interface MetricV2.Builder

    • Method Detail

      • name

        MetricV2.Builder name​(String name)

        The name of the metric.

        This parameter is required. The following Required = No is incorrect.

        Parameters:
        name - The name of the metric.

        This parameter is required. The following Required = No is incorrect.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threshold

        MetricV2.Builder threshold​(Collection<ThresholdV2> threshold)

        Contains information about the threshold for service level metrics.

        Parameters:
        threshold - Contains information about the threshold for service level metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threshold

        MetricV2.Builder threshold​(ThresholdV2... threshold)

        Contains information about the threshold for service level metrics.

        Parameters:
        threshold - Contains information about the threshold for service level metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricFilters

        MetricV2.Builder metricFilters​(Collection<MetricFilterV2> metricFilters)

        Contains the filters to be used when returning data.

        Parameters:
        metricFilters - Contains the filters to be used when returning data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricFilters

        MetricV2.Builder metricFilters​(MetricFilterV2... metricFilters)

        Contains the filters to be used when returning data.

        Parameters:
        metricFilters - Contains the filters to be used when returning data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.