public static class AggregatedDatapoint.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AggregatedDatapoint |
build() |
AggregatedDatapoint.Builder |
copy(AggregatedDatapoint model) |
AggregatedDatapoint.Builder |
timestamp(Date timestamp)
The date and time associated with the value of this data point.
|
AggregatedDatapoint.Builder |
value(Double value)
Numeric value of the metric.
|
public AggregatedDatapoint.Builder timestamp(Date timestamp)
The date and time associated with the value of this data point. Format defined by RFC3339.
Example: 2023-02-01T01:02:29.600Z
timestamp
- the value to setpublic AggregatedDatapoint.Builder value(Double value)
Numeric value of the metric.
Example: 10.4
value
- the value to setpublic AggregatedDatapoint build()
public AggregatedDatapoint.Builder copy(AggregatedDatapoint model)
Copyright © 2016–2024. All rights reserved.