Interface MetricDataResult.Builder

  • Method Details

    • id

      The query identifier.

      Parameters:
      id - The query identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamps

      MetricDataResult.Builder timestamps(Collection<Instant> timestamps)

      A list of timestamps for the metric data results.

      Parameters:
      timestamps - A list of timestamps for the metric data results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamps

      MetricDataResult.Builder timestamps(Instant... timestamps)

      A list of timestamps for the metric data results.

      Parameters:
      timestamps - A list of timestamps for the metric data results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      A list of values (cumulative / sum) for the metric data results.

      Parameters:
      values - A list of values (cumulative / sum) for the metric data results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      MetricDataResult.Builder values(Long... values)

      A list of values (cumulative / sum) for the metric data results.

      Parameters:
      values - A list of values (cumulative / sum) for the metric data results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.