Class Criteria

java.lang.Object
com.microsoft.azure.management.monitor.Criteria

public class Criteria extends Object
Specifies the criteria for converting log to metric.
  • Constructor Details

    • Criteria

      public Criteria()
  • Method Details

    • metricName

      public String metricName()
      Get name of the metric.
      Returns:
      the metricName value
    • withMetricName

      public Criteria withMetricName(String metricName)
      Set name of the metric.
      Parameters:
      metricName - the metricName value to set
      Returns:
      the Criteria object itself.
    • dimensions

      public List<Dimension> dimensions()
      Get list of Dimensions for creating metric.
      Returns:
      the dimensions value
    • withDimensions

      public Criteria withDimensions(List<Dimension> dimensions)
      Set list of Dimensions for creating metric.
      Parameters:
      dimensions - the dimensions value to set
      Returns:
      the Criteria object itself.