Class MetricStatisticsDefinition.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.MetricStatisticsDefinition.Builder
-
- Enclosing class:
- MetricStatisticsDefinition
public static class MetricStatisticsDefinition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
min
public MetricStatisticsDefinition.Builder min(Double min)
The minimum value of the metric.- Parameters:
min
- the value to set- Returns:
- this builder
-
max
public MetricStatisticsDefinition.Builder max(Double max)
The maximum value of the metric.- Parameters:
max
- the value to set- Returns:
- this builder
-
median
public MetricStatisticsDefinition.Builder median(Double median)
The median value of the metric.- Parameters:
median
- the value to set- Returns:
- this builder
-
lowerQuartile
public MetricStatisticsDefinition.Builder lowerQuartile(Double lowerQuartile)
The first quartile value of the metric.- Parameters:
lowerQuartile
- the value to set- Returns:
- this builder
-
upperQuartile
public MetricStatisticsDefinition.Builder upperQuartile(Double upperQuartile)
The third quartile value of the metric.- Parameters:
upperQuartile
- the value to set- Returns:
- this builder
-
unit
public MetricStatisticsDefinition.Builder unit(String unit)
The unit of the metric value.- Parameters:
unit
- the value to set- Returns:
- this builder
-
dimensions
public MetricStatisticsDefinition.Builder dimensions(List<MetricDimensionDefinition> dimensions)
The dimensions of the metric.- Parameters:
dimensions
- the value to set- Returns:
- this builder
-
build
public MetricStatisticsDefinition build()
-
copy
public MetricStatisticsDefinition.Builder copy(MetricStatisticsDefinition model)
-
-