Interface Datapoint.Builder

    • Method Detail

      • timestamp

        Datapoint.Builder timestamp​(Instant timestamp)

        The time stamp used for the data point.

        Parameters:
        timestamp - The time stamp used for the data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sampleCount

        Datapoint.Builder sampleCount​(Double sampleCount)

        The number of metric values that contributed to the aggregate value of this data point.

        Parameters:
        sampleCount - The number of metric values that contributed to the aggregate value of this data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • average

        Datapoint.Builder average​(Double average)

        The average of the metric values that correspond to the data point.

        Parameters:
        average - The average of the metric values that correspond to the data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sum

        Datapoint.Builder sum​(Double sum)

        The sum of the metric values for the data point.

        Parameters:
        sum - The sum of the metric values for the data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimum

        Datapoint.Builder minimum​(Double minimum)

        The minimum metric value for the data point.

        Parameters:
        minimum - The minimum metric value for the data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximum

        Datapoint.Builder maximum​(Double maximum)

        The maximum metric value for the data point.

        Parameters:
        maximum - The maximum metric value for the data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • unit

        Datapoint.Builder unit​(String unit)

        The standard unit for the data point.

        Parameters:
        unit - The standard unit for the data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StandardUnit, StandardUnit
      • unit

        Datapoint.Builder unit​(StandardUnit unit)

        The standard unit for the data point.

        Parameters:
        unit - The standard unit for the data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        StandardUnit, StandardUnit
      • extendedStatistics

        Datapoint.Builder extendedStatistics​(Map<String,​Double> extendedStatistics)

        The percentile statistic for the data point.

        Parameters:
        extendedStatistics - The percentile statistic for the data point.
        Returns:
        Returns a reference to this object so that method calls can be chained together.