Class AnomalyDataPoint.Builder
- java.lang.Object
- 
- com.oracle.bmc.stackmonitoring.model.AnomalyDataPoint.Builder
 
- 
- Enclosing class:
- AnomalyDataPoint
 
 public static class AnomalyDataPoint.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AnomalyDataPoint.Builderanomaly(Double anomaly)if the value is anomaly or not 0 indicates not an anomaly -1 indicates value is below the threshold +1 indicates value is above the thresholdAnomalyDataPointbuild()AnomalyDataPoint.Buildercopy(AnomalyDataPoint model)AnomalyDataPoint.Builderhigh(Double high)upper threshold for the metric valueAnomalyDataPoint.Builderlow(Double low)lower threshold for the metric valueAnomalyDataPoint.Buildertimestamp(Date timestamp)timestamp of when the metric was collectedAnomalyDataPoint.Buildervalue(Double value)value for the metric data point
 
- 
- 
- 
Method Detail- 
anomalypublic AnomalyDataPoint.Builder anomaly(Double anomaly) if the value is anomaly or not 0 indicates not an anomaly -1 indicates value is below the threshold +1 indicates value is above the threshold- Parameters:
- anomaly- the value to set
- Returns:
- this builder
 
 - 
lowpublic AnomalyDataPoint.Builder low(Double low) lower threshold for the metric value- Parameters:
- low- the value to set
- Returns:
- this builder
 
 - 
highpublic AnomalyDataPoint.Builder high(Double high) upper threshold for the metric value- Parameters:
- high- the value to set
- Returns:
- this builder
 
 - 
timestamppublic AnomalyDataPoint.Builder timestamp(Date timestamp) timestamp of when the metric was collected- Parameters:
- timestamp- the value to set
- Returns:
- this builder
 
 - 
valuepublic AnomalyDataPoint.Builder value(Double value) value for the metric data point- Parameters:
- value- the value to set
- Returns:
- this builder
 
 - 
buildpublic AnomalyDataPoint build() 
 - 
copypublic AnomalyDataPoint.Builder copy(AnomalyDataPoint model) 
 
- 
 
-