Class MultiMetricCriteria

java.lang.Object
com.microsoft.azure.management.monitor.MultiMetricCriteria
Direct Known Subclasses:
DynamicMetricCriteria, MetricCriteria

public class MultiMetricCriteria extends Object
The types of conditions for a multi resource alert.
  • Constructor Details

    • MultiMetricCriteria

      public MultiMetricCriteria()
  • Method Details

    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get unmatched properties from the message are deserialized this collection.
      Returns:
      the additionalProperties value
    • withAdditionalProperties

      public MultiMetricCriteria withAdditionalProperties(Map<String,Object> additionalProperties)
      Set unmatched properties from the message are deserialized this collection.
      Parameters:
      additionalProperties - the additionalProperties value to set
      Returns:
      the MultiMetricCriteria object itself.
    • name

      public String name()
      Get name of the criteria.
      Returns:
      the name value
    • withName

      public MultiMetricCriteria withName(String name)
      Set name of the criteria.
      Parameters:
      name - the name value to set
      Returns:
      the MultiMetricCriteria object itself.
    • metricName

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

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

      public String metricNamespace()
      Get namespace of the metric.
      Returns:
      the metricNamespace value
    • withMetricNamespace

      public MultiMetricCriteria withMetricNamespace(String metricNamespace)
      Set namespace of the metric.
      Parameters:
      metricNamespace - the metricNamespace value to set
      Returns:
      the MultiMetricCriteria object itself.
    • timeAggregation

      public Object timeAggregation()
      Get the criteria time aggregation types.
      Returns:
      the timeAggregation value
    • withTimeAggregation

      public MultiMetricCriteria withTimeAggregation(Object timeAggregation)
      Set the criteria time aggregation types.
      Parameters:
      timeAggregation - the timeAggregation value to set
      Returns:
      the MultiMetricCriteria object itself.
    • dimensions

      public List<MetricDimension> dimensions()
      Get list of dimension conditions.
      Returns:
      the dimensions value
    • withDimensions

      public MultiMetricCriteria withDimensions(List<MetricDimension> dimensions)
      Set list of dimension conditions.
      Parameters:
      dimensions - the dimensions value to set
      Returns:
      the MultiMetricCriteria object itself.