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