public static class MetricStatisticsDefinition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MetricStatisticsDefinition |
build() |
MetricStatisticsDefinition.Builder |
copy(MetricStatisticsDefinition model) |
MetricStatisticsDefinition.Builder |
dimensions(List<MetricDimensionDefinition> dimensions)
The dimensions of the metric.
|
MetricStatisticsDefinition.Builder |
lowerQuartile(Double lowerQuartile)
The first quartile value of the metric.
|
MetricStatisticsDefinition.Builder |
max(Double max)
The maximum value of the metric.
|
MetricStatisticsDefinition.Builder |
median(Double median)
The median value of the metric.
|
MetricStatisticsDefinition.Builder |
min(Double min)
The minimum value of the metric.
|
MetricStatisticsDefinition.Builder |
unit(String unit)
The unit of the metric value.
|
MetricStatisticsDefinition.Builder |
upperQuartile(Double upperQuartile)
The third quartile value of the metric.
|
public MetricStatisticsDefinition.Builder min(Double min)
The minimum value of the metric.
min
- the value to setpublic MetricStatisticsDefinition.Builder max(Double max)
The maximum value of the metric.
max
- the value to setpublic MetricStatisticsDefinition.Builder median(Double median)
The median value of the metric.
median
- the value to setpublic MetricStatisticsDefinition.Builder lowerQuartile(Double lowerQuartile)
The first quartile value of the metric.
lowerQuartile
- the value to setpublic MetricStatisticsDefinition.Builder upperQuartile(Double upperQuartile)
The third quartile value of the metric.
upperQuartile
- the value to setpublic MetricStatisticsDefinition.Builder unit(String unit)
The unit of the metric value.
unit
- the value to setpublic MetricStatisticsDefinition.Builder dimensions(List<MetricDimensionDefinition> dimensions)
The dimensions of the metric.
dimensions
- the value to setpublic MetricStatisticsDefinition build()
public MetricStatisticsDefinition.Builder copy(MetricStatisticsDefinition model)
Copyright © 2016–2024. All rights reserved.