Class MetricFeedback

java.lang.Object
com.azure.ai.metricsadvisor.models.MetricFeedback
Direct Known Subclasses:
MetricAnomalyFeedback, MetricChangePointFeedback, MetricCommentFeedback, MetricPeriodFeedback

public abstract class MetricFeedback extends Object
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.
See Also:
  • Constructor Details

    • MetricFeedback

      public MetricFeedback()
  • Method Details

    • getId

      public String getId()
      Get the feedback unique id.
      Returns:
      the id value.
    • getCreatedTime

      public OffsetDateTime getCreatedTime()
      Get the feedback created time.
      Returns:
      the createdTime value.
    • getUserPrincipal

      public String getUserPrincipal()
      Get the user who gives this feedback.
      Returns:
      the userPrincipal value.
    • getMetricId

      public String getMetricId()
      Get the metric unique id.
      Returns:
      the metricId value.
    • getFeedbackType

      public FeedbackType getFeedbackType()
      Get the type of the feedback.
      Returns:
      the feedbackType value.
    • getDimensionFilter

      public DimensionKey getDimensionFilter()
      Get the series keys value for the feedback.
      Returns:
      the dimensionFilter 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.