Class MetricChangePointFeedback
java.lang.Object
com.azure.ai.metricsadvisor.models.MetricFeedback
com.azure.ai.metricsadvisor.models.MetricChangePointFeedback
The Feedback that allows the user to mark the exact change point when the time series has
a trend change. This helps the anomaly detector in future analysis.
-
Constructor Summary
ConstructorDescriptionMetricChangePointFeedback
(OffsetDateTime startTime, OffsetDateTime endTime, ChangePointValue changePointValue) Creates an instance of MetricChangePointFeedback. -
Method Summary
Modifier and TypeMethodDescriptionGet the change point feedback value.Get the end timestamp of feedback timerange, when equals to startTime means only one timestamp.Get the start timestamp of feedback timerange.setDimensionFilter
(DimensionKey dimensionFilter) Set the series keys value for the feedback.Methods inherited from class com.azure.ai.metricsadvisor.models.MetricFeedback
getCreatedTime, getDimensionFilter, getFeedbackType, getId, getMetricId, getUserPrincipal
-
Constructor Details
-
MetricChangePointFeedback
public MetricChangePointFeedback(OffsetDateTime startTime, OffsetDateTime endTime, ChangePointValue changePointValue) Creates an instance of MetricChangePointFeedback.- Parameters:
startTime
- the start timestamp of feedback timerangeendTime
- the end timestamp of feedback timerange, when equals to startTime means only one timestampchangePointValue
- the value of the change point feedback.
-
-
Method Details
-
setDimensionFilter
Set the series keys value for the feedback.- Overrides:
setDimensionFilter
in classMetricFeedback
- Parameters:
dimensionFilter
- the dimensionFilter value to set.- Returns:
- the MetricChangePointFeedback object itself.
-
getChangePointValue
Get the change point feedback value.- Returns:
- the changePointValue value.
-
getStartTime
Get the start timestamp of feedback timerange.- Returns:
- the startTime value.
-
getEndTime
Get the end timestamp of feedback timerange, when equals to startTime means only one timestamp.- Returns:
- the endTime value.
-