Class DataPoint.Builder

  • Enclosing class:
    DataPoint

    public static class DataPoint.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • timestamp

        public DataPoint.Builder timestamp​(Date timestamp)
        timestamp of when the metric was collected
        Parameters:
        timestamp - the value to set
        Returns:
        this builder
      • value

        public DataPoint.Builder value​(Double value)
        value for the metric data point
        Parameters:
        value - the value to set
        Returns:
        this builder