public static class DetectionResultItem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 level
|
DetectionResultItem.Builder |
timestamp(Date timestamp)
The time stamp associated with a list of anomaly points, format defined by
RFC3339.
|
public DetectionResultItem.Builder timestamp(Date timestamp)
The time stamp associated with a list of anomaly points, format defined by RFC3339.
timestamp
- the value to setpublic DetectionResultItem.Builder rowIndex(Integer rowIndex)
The index number to indicate where anomaly points are located among all rows when there are no timestamps provided.
rowIndex
- the value to setpublic DetectionResultItem.Builder score(Double score)
A significant score across multiple signals at timestamp/row level
score
- the value to setpublic DetectionResultItem.Builder anomalies(List<Anomaly> anomalies)
An array of anomalies associated with a given timestamp/row.
anomalies
- the value to setpublic DetectionResultItem build()
public DetectionResultItem.Builder copy(DetectionResultItem model)
Copyright © 2016–2024. All rights reserved.