public class Criteria extends Object
| Constructor and Description |
|---|
Criteria() |
| Modifier and Type | Method and Description |
|---|---|
List<Dimension> |
dimensions()
Get list of Dimensions for creating metric.
|
String |
metricName()
Get name of the metric.
|
Criteria |
withDimensions(List<Dimension> dimensions)
Set list of Dimensions for creating metric.
|
Criteria |
withMetricName(String metricName)
Set name of the metric.
|
public String metricName()
public Criteria withMetricName(String metricName)
metricName - the metricName value to setpublic List<Dimension> dimensions()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/