public static class MetricDataPoint.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MetricDataPoint |
build() |
MetricDataPoint.Builder |
copy(MetricDataPoint model) |
MetricDataPoint.Builder |
dimensions(List<MetricDimensionDefinition> dimensions)
The dimensions of the metric.
|
MetricDataPoint.Builder |
unit(String unit)
The unit of the metric value.
|
MetricDataPoint.Builder |
value(Double value)
The value of the metric.
|
public MetricDataPoint.Builder value(Double value)
The value of the metric.
value
- the value to setpublic MetricDataPoint.Builder unit(String unit)
The unit of the metric value.
unit
- the value to setpublic MetricDataPoint.Builder dimensions(List<MetricDimensionDefinition> dimensions)
The dimensions of the metric.
dimensions
- the value to setpublic MetricDataPoint build()
public MetricDataPoint.Builder copy(MetricDataPoint model)
Copyright © 2016–2024. All rights reserved.