Interface MetricDataResult.Builder

    • Method Detail

      • id

        MetricDataResult.Builder id​(String 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

        MetricDataResult.Builder values​(Collection<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.
      • 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.