public final class Criteria extends Object
| Constructor and Description |
|---|
Criteria() |
| Modifier and Type | Method and Description |
|---|---|
List<Dimension> |
dimensions()
Get the dimensions property: List of Dimensions for creating metric.
|
String |
metricName()
Get the metricName property: Name of the metric.
|
void |
validate()
Validates the instance.
|
Criteria |
withDimensions(List<Dimension> dimensions)
Set the dimensions property: List of Dimensions for creating metric.
|
Criteria |
withMetricName(String metricName)
Set the metricName property: Name of the metric.
|
public String metricName()
public Criteria withMetricName(String metricName)
metricName - the metricName value to set.public List<Dimension> dimensions()
public Criteria withDimensions(List<Dimension> dimensions)
dimensions - the dimensions value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.