Interface MetricInfo.Builder

    • Method Detail

      • metricNamespace

        MetricInfo.Builder metricNamespace​(String metricNamespace)

        The namespace of the metric.

        Parameters:
        metricNamespace - The namespace of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricName

        MetricInfo.Builder metricName​(String metricName)

        The name of the metric.

        Parameters:
        metricName - The name of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricDimensions

        MetricInfo.Builder metricDimensions​(Map<String,​String> metricDimensions)

        The metric dimension. This is a name/value pair that is part of the identity of a metric.

        Parameters:
        metricDimensions - The metric dimension. This is a name/value pair that is part of the identity of a metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricStatisticRecommendation

        MetricInfo.Builder metricStatisticRecommendation​(String metricStatisticRecommendation)

        The metric statistic that we recommend you use when determining quota usage.

        Parameters:
        metricStatisticRecommendation - The metric statistic that we recommend you use when determining quota usage.
        Returns:
        Returns a reference to this object so that method calls can be chained together.