public final class MetricDimension extends Object
| Constructor and Description |
|---|
MetricDimension() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: Name of the dimension.
|
String |
operator()
Get the operator property: the dimension operator.
|
void |
validate()
Validates the instance.
|
List<String> |
values()
Get the values property: list of dimension values.
|
MetricDimension |
withName(String name)
Set the name property: Name of the dimension.
|
MetricDimension |
withOperator(String operator)
Set the operator property: the dimension operator.
|
MetricDimension |
withValues(List<String> values)
Set the values property: list of dimension values.
|
public String name()
public MetricDimension withName(String name)
name - the name value to set.public String operator()
public MetricDimension withOperator(String operator)
operator - the operator value to set.public List<String> values()
public MetricDimension withValues(List<String> values)
values - the values value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.