public final class MetricCommentFeedback extends MetricFeedback
Constructor and Description |
---|
MetricCommentFeedback(OffsetDateTime startTime,
OffsetDateTime endTime,
String comment)
Creates an instance of MetricCommentFeedback.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get the comment value.
|
OffsetDateTime |
getEndTime()
Get the end timestamp of feedback timerange, when equals to startTime means only one
timestamp.
|
OffsetDateTime |
getStartTime()
Get the start timestamp of feedback timerange.
|
MetricCommentFeedback |
setDimensionFilter(DimensionKey dimensionFilter)
Set the series keys value for the feedback.
|
getCreatedTime, getDimensionFilter, getFeedbackType, getId, getMetricId, getUserPrincipal
public MetricCommentFeedback(OffsetDateTime startTime, OffsetDateTime endTime, String comment)
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.public MetricCommentFeedback setDimensionFilter(DimensionKey dimensionFilter)
setDimensionFilter
in class MetricFeedback
dimensionFilter
- the dimensionFilter value to set.public String getComment()
public OffsetDateTime getStartTime()
public OffsetDateTime getEndTime()
Copyright © 2021 Microsoft Corporation. All rights reserved.