Class DetectionResultItem.Builder
- java.lang.Object
-
- com.oracle.bmc.aianomalydetection.model.DetectionResultItem.Builder
-
- Enclosing class:
- DetectionResultItem
public static class DetectionResultItem.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectionResultItem.Builder
anomalies(List<Anomaly> anomalies)
An array of anomalies associated with a given timestamp/row.DetectionResultItem
build()
DetectionResultItem.Builder
copy(DetectionResultItem model)
DetectionResultItem.Builder
rowIndex(Integer rowIndex)
The index number to indicate where anomaly points are located among all rows when there are no timestamps provided.DetectionResultItem.Builder
score(Double score)
A significant score across multiple signals at timestamp/row levelDetectionResultItem.Builder
timestamp(Date timestamp)
The time stamp associated with a list of anomaly points, format defined by RFC3339.
-
-
-
Method Detail
-
timestamp
public DetectionResultItem.Builder timestamp(Date timestamp)
The time stamp associated with a list of anomaly points, format defined by RFC3339.- Parameters:
timestamp
- the value to set- Returns:
- this builder
-
rowIndex
public DetectionResultItem.Builder rowIndex(Integer rowIndex)
The index number to indicate where anomaly points are located among all rows when there are no timestamps provided.- Parameters:
rowIndex
- the value to set- Returns:
- this builder
-
score
public DetectionResultItem.Builder score(Double score)
A significant score across multiple signals at timestamp/row level- Parameters:
score
- the value to set- Returns:
- this builder
-
anomalies
public DetectionResultItem.Builder anomalies(List<Anomaly> anomalies)
An array of anomalies associated with a given timestamp/row.- Parameters:
anomalies
- the value to set- Returns:
- this builder
-
build
public DetectionResultItem build()
-
copy
public DetectionResultItem.Builder copy(DetectionResultItem model)
-
-