Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataPoint |
build() |
DataPoint.Builder |
copy(DataPoint model) |
DataPoint.Builder |
timestamp(Date timestamp)
timestamp of when the metric was collected
|
DataPoint.Builder |
value(Double value)
value for the metric data point
|
public DataPoint.Builder timestamp(Date timestamp)
timestamp of when the metric was collected
timestamp
- the value to setpublic DataPoint.Builder value(Double value)
value for the metric data point
value
- the value to setpublic DataPoint build()
public DataPoint.Builder copy(DataPoint model)
Copyright © 2016–2024. All rights reserved.