Class DataFeedMetric
java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataFeedMetric
Type describing a metric of a DataFeed.
-
Constructor Summary
ConstructorDescriptionDataFeedMetric
(String name) Creates a DataFeed metric with the provided name. -
Method Summary
Modifier and TypeMethodDescriptionGets the description.Gets the display name.getId()
Gets the id.getName()
Gets the name.setDescription
(String description) Sets the description.setDisplayName
(String displayName) Sets the display name.
-
Constructor Details
-
DataFeedMetric
Creates a DataFeed metric with the provided name.- Parameters:
name
- the metric name.
-
-
Method Details
-
getId
Gets the id.- Returns:
- the id value.
-
getName
Gets the name.- Returns:
- the name value.
-
getDisplayName
Gets the display name.- Returns:
- the display name value.
-
getDescription
Gets the description.- Returns:
- the description value.
-
setDisplayName
Sets the display name.- Parameters:
displayName
- the display name value to set.- Returns:
- the DataFeedMetric object itself.
-
setDescription
Sets the description.- Parameters:
description
- the description value to set.- Returns:
- the DataFeedMetric object itself.
-