public final class DetectRequest extends Object
Constructor and Description |
---|
DetectRequest() |
Modifier and Type | Method and Description |
---|---|
Integer |
getCustomInterval()
Get the customInterval property: Custom Interval is used to set non-standard time interval, for example, if the
series is 5 minutes, request can be set as {"granularity":"minutely", "customInterval":5}.
|
TimeGranularity |
getGranularity()
Get the granularity property: Optional argument, can be one of yearly, monthly, weekly, daily, hourly, minutely,
secondly, microsecond or none.
|
Float |
getMaxAnomalyRatio()
Get the maxAnomalyRatio property: Optional argument, advanced model parameter, max anomaly ratio in a time
series.
|
Integer |
getPeriod()
Get the period property: Optional argument, periodic value of a time series.
|
Integer |
getSensitivity()
Get the sensitivity property: Optional argument, advanced model parameter, between 0-99, the lower the value is,
the larger the margin value will be which means less anomalies will be accepted.
|
List<TimeSeriesPoint> |
getSeries()
Get the series property: Time series data points.
|
DetectRequest |
setCustomInterval(Integer customInterval)
Set the customInterval property: Custom Interval is used to set non-standard time interval, for example, if the
series is 5 minutes, request can be set as {"granularity":"minutely", "customInterval":5}.
|
DetectRequest |
setGranularity(TimeGranularity granularity)
Set the granularity property: Optional argument, can be one of yearly, monthly, weekly, daily, hourly, minutely,
secondly, microsecond or none.
|
DetectRequest |
setMaxAnomalyRatio(Float maxAnomalyRatio)
Set the maxAnomalyRatio property: Optional argument, advanced model parameter, max anomaly ratio in a time
series.
|
DetectRequest |
setPeriod(Integer period)
Set the period property: Optional argument, periodic value of a time series.
|
DetectRequest |
setSensitivity(Integer sensitivity)
Set the sensitivity property: Optional argument, advanced model parameter, between 0-99, the lower the value is,
the larger the margin value will be which means less anomalies will be accepted.
|
DetectRequest |
setSeries(List<TimeSeriesPoint> series)
Set the series property: Time series data points.
|
public List<TimeSeriesPoint> getSeries()
public DetectRequest setSeries(List<TimeSeriesPoint> series)
series
- the series value to set.public TimeGranularity getGranularity()
public DetectRequest setGranularity(TimeGranularity granularity)
granularity
- the granularity value to set.public Integer getCustomInterval()
public DetectRequest setCustomInterval(Integer customInterval)
customInterval
- the customInterval value to set.public Integer getPeriod()
public DetectRequest setPeriod(Integer period)
period
- the period value to set.public Float getMaxAnomalyRatio()
public DetectRequest setMaxAnomalyRatio(Float maxAnomalyRatio)
maxAnomalyRatio
- the maxAnomalyRatio value to set.public Integer getSensitivity()
public DetectRequest setSensitivity(Integer sensitivity)
sensitivity
- the sensitivity value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.