Class DataPoints.Builder

  • Enclosing class:
    DataPoints

    public static class DataPoints.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • timestamp

        public DataPoints.Builder timestamp​(Date timestamp)
        The data point date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
        Parameters:
        timestamp - the value to set
        Returns:
        this builder
      • value

        public DataPoints.Builder value​(Double value)
        The value of the metric.
        Parameters:
        value - the value to set
        Returns:
        this builder