java.lang.Object
com.azure.ai.metricsadvisor.administration.models.DataFeedMetric

public final class DataFeedMetric extends Object
Type describing a metric of a DataFeed.
  • Constructor Details

    • DataFeedMetric

      public DataFeedMetric(String name)
      Creates a DataFeed metric with the provided name.
      Parameters:
      name - the metric name.
  • Method Details

    • getId

      public String getId()
      Gets the id.
      Returns:
      the id value.
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name value.
    • getDisplayName

      public String getDisplayName()
      Gets the display name.
      Returns:
      the display name value.
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      the description value.
    • setDisplayName

      public DataFeedMetric setDisplayName(String displayName)
      Sets the display name.
      Parameters:
      displayName - the display name value to set.
      Returns:
      the DataFeedMetric object itself.
    • setDescription

      public DataFeedMetric setDescription(String description)
      Sets the description.
      Parameters:
      description - the description value to set.
      Returns:
      the DataFeedMetric object itself.