Class MetricCommentFeedback
java.lang.Object
com.azure.ai.metricsadvisor.models.MetricFeedback
com.azure.ai.metricsadvisor.models.MetricCommentFeedback
The feedback that allows adding comments in plain text providing more
context about the data.
-
Constructor Summary
ConstructorDescriptionMetricCommentFeedback
(OffsetDateTime startTime, OffsetDateTime endTime, String comment) Creates an instance of MetricCommentFeedback. -
Method Summary
Modifier and TypeMethodDescriptionGet the comment 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
-
MetricCommentFeedback
Creates an instance of MetricCommentFeedback.- Parameters:
startTime
- the start timestamp of feedback timerangeendTime
- the end timestamp of feedback timerange, when equals to startTime means only one timestampcomment
- the value of the comment.
-
-
Method Details
-
setDimensionFilter
Set the series keys value for the feedback.- Overrides:
setDimensionFilter
in classMetricFeedback
- Parameters:
dimensionFilter
- the dimensionFilter value to set.- Returns:
- the MetricCommentFeedback object itself.
-
getComment
Get the comment value.- Returns:
- the comment 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.
-