Class Criteria
java.lang.Object
com.microsoft.azure.management.monitor.Criteria
Specifies the criteria for converting log to metric.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet list of Dimensions for creating metric.Get name of the metric.withDimensions
(List<Dimension> dimensions) Set list of Dimensions for creating metric.withMetricName
(String metricName) Set name of the metric.
-
Constructor Details
-
Criteria
public Criteria()
-
-
Method Details
-
metricName
Get name of the metric.- Returns:
- the metricName value
-
withMetricName
Set name of the metric.- Parameters:
metricName
- the metricName value to set- Returns:
- the Criteria object itself.
-
dimensions
Get list of Dimensions for creating metric.- Returns:
- the dimensions value
-
withDimensions
Set list of Dimensions for creating metric.- Parameters:
dimensions
- the dimensions value to set- Returns:
- the Criteria object itself.
-