public static class DataPoints.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataPoints |
build() |
DataPoints.Builder |
copy(DataPoints model) |
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’”.
|
DataPoints.Builder |
value(Double value)
The value of the metric.
|
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’”.
timestamp
- the value to setpublic DataPoints.Builder value(Double value)
The value of the metric.
value
- the value to setpublic DataPoints build()
public DataPoints.Builder copy(DataPoints model)
Copyright © 2016–2024. All rights reserved.