Interface PerformanceInsightsMetric.Builder

    • Method Detail

      • metric

        PerformanceInsightsMetric.Builder metric​(String metric)

        The Performance Insights metric.

        Parameters:
        metric - The Performance Insights metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • displayName

        PerformanceInsightsMetric.Builder displayName​(String displayName)

        The Performance Insights metric name.

        Parameters:
        displayName - The Performance Insights metric name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensions

        PerformanceInsightsMetric.Builder dimensions​(Map<String,​String> dimensions)

        A dimension map that contains the dimensions for this partition.

        Parameters:
        dimensions - A dimension map that contains the dimensions for this partition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        PerformanceInsightsMetric.Builder value​(Double value)

        The value of the metric. For example, 9 for db.load.avg.

        Parameters:
        value - The value of the metric. For example, 9 for db.load.avg.
        Returns:
        Returns a reference to this object so that method calls can be chained together.