MetricFeedback Class
- java.
lang. Object - com.
azure. ai. metricsadvisor. models. MetricFeedback
- com.
public abstract class MetricFeedback
Users can submit various feedback for the anomaly detection that the service performed. The MetricFeedback represents the base type for different feedback. The feedback will be applied for the future anomaly detection processing of the same time series.
Constructor Summary
Constructor | Description |
---|---|
MetricFeedback() |
Creates a new instance of Metric |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getCreatedTime()
Get the feedback created time. |
Dimension |
getDimensionFilter()
Get the series keys value for the feedback. |
Feedback |
getFeedbackType()
Get the type of the feedback. |
String |
getId()
Get the feedback unique id. |
String |
getMetricId()
Get the metric unique id. |
String |
getUserPrincipal()
Get the user who gives this feedback. |
Metric |
setDimensionFilter(DimensionKey dimensionFilter)
Set the series keys value for the feedback. |
Methods inherited from java.lang.Object
Constructor Details
MetricFeedback
public MetricFeedback()
Creates a new instance of MetricFeedback.
Method Details
getCreatedTime
public OffsetDateTime getCreatedTime()
Get the feedback created time.
Returns:
getDimensionFilter
public DimensionKey getDimensionFilter()
Get the series keys value for the feedback.
Returns:
getFeedbackType
public FeedbackType getFeedbackType()
Get the type of the feedback.
Returns:
getId
public String getId()
Get the feedback unique id.
Returns:
getMetricId
public String getMetricId()
Get the metric unique id.
Returns:
getUserPrincipal
public String getUserPrincipal()
Get the user who gives this feedback.
Returns:
setDimensionFilter
public MetricFeedback setDimensionFilter(DimensionKey dimensionFilter)
Set the series keys value for the feedback.
Parameters:
Returns:
Applies to
Azure SDK for Java