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 MetricStatisticsDefinitionbuild()MetricStatisticsDefinition.Buildercopy(MetricStatisticsDefinition model)MetricStatisticsDefinition.Builderdimensions(List<MetricDimensionDefinition> dimensions)The dimensions of the metric.MetricStatisticsDefinition.BuilderlowerQuartile(Double lowerQuartile)The first quartile value of the metric.MetricStatisticsDefinition.Buildermax(Double max)The maximum value of the metric.MetricStatisticsDefinition.Buildermedian(Double median)The median value of the metric.MetricStatisticsDefinition.Buildermin(Double min)The minimum value of the metric.MetricStatisticsDefinition.Builderunit(String unit)The unit of the metric value.MetricStatisticsDefinition.BuilderupperQuartile(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)
-
-