Interface Datapoint.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Datapoint.Builder,Datapoint>, SdkBuilder<Datapoint.Builder,Datapoint>, SdkPojo
Enclosing class:
Datapoint

public static interface Datapoint.Builder extends SdkPojo, CopyableBuilder<Datapoint.Builder,Datapoint>
  • Method Details

    • 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

      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

      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:
    • 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:
    • 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.