Interface MetricDataV2.Builder

  • Method Details

    • metric

      The metric name, thresholds, and metric filters of the returned metric.

      Parameters:
      metric - The metric name, thresholds, and metric filters of the returned metric.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metric

      The metric name, thresholds, and metric filters of the returned metric.

      This is a convenience method that creates an instance of the MetricV2.Builder avoiding the need to create one manually via MetricV2.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metric(MetricV2).

      Parameters:
      metric - a consumer that will call methods on MetricV2.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      The corresponding value of the metric returned in the response.

      Parameters:
      value - The corresponding value of the metric returned in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.