Class MetricData.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.MetricData.Builder
-
- Enclosing class:
- MetricData
public static class MetricData.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricDatabuild()MetricData.Buildercopy(MetricData model)MetricData.Builderdimensions(Map<String,String> dimensions)list of dimensions for the metricMetricData.BuilderevaluationDataPoints(List<DataPoint> evaluationDataPoints)list of data points for the metric for evaluation of anomaliesMetricData.BuildertrainingDataPoints(List<DataPoint> trainingDataPoints)list of data points for the metric for training of baseline
-
-
-
Method Detail
-
dimensions
public MetricData.Builder dimensions(Map<String,String> dimensions)
list of dimensions for the metric- Parameters:
dimensions- the value to set- Returns:
- this builder
-
trainingDataPoints
public MetricData.Builder trainingDataPoints(List<DataPoint> trainingDataPoints)
list of data points for the metric for training of baseline- Parameters:
trainingDataPoints- the value to set- Returns:
- this builder
-
evaluationDataPoints
public MetricData.Builder evaluationDataPoints(List<DataPoint> evaluationDataPoints)
list of data points for the metric for evaluation of anomalies- Parameters:
evaluationDataPoints- the value to set- Returns:
- this builder
-
build
public MetricData build()
-
copy
public MetricData.Builder copy(MetricData model)
-
-