MetricFeedback Class

  • java.lang.Object
    • com.azure.ai.metricsadvisor.models.MetricFeedback

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 MetricFeedback.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreatedTime()

Get the feedback created time.

DimensionKey getDimensionFilter()

Get the series keys value for the feedback.

FeedbackType 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.

MetricFeedback 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:

the createdTime value.

getDimensionFilter

public DimensionKey getDimensionFilter()

Get the series keys value for the feedback.

Returns:

the dimensionFilter value.

getFeedbackType

public FeedbackType getFeedbackType()

Get the type of the feedback.

Returns:

the feedbackType value.

getId

public String getId()

Get the feedback unique id.

Returns:

the id value.

getMetricId

public String getMetricId()

Get the metric unique id.

Returns:

the metricId value.

getUserPrincipal

public String getUserPrincipal()

Get the user who gives this feedback.

Returns:

the userPrincipal value.

setDimensionFilter

public MetricFeedback setDimensionFilter(DimensionKey dimensionFilter)

Set the series keys value for the feedback.

Parameters:

dimensionFilter - the dimensionFilter value to set.

Returns:

the MetricFeedback object itself.

Applies to