Class MetricDimension
java.lang.Object
com.microsoft.azure.management.monitor.MetricDimension
Specifies a metric dimension.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get name of the dimension.operator()Get the dimension operator.values()Get list of dimension values.Set name of the dimension.withOperator(String operator) Set the dimension operator.withValues(List<String> values) Set list of dimension values.
-
Constructor Details
-
MetricDimension
public MetricDimension()
-
-
Method Details
-
name
Get name of the dimension.- Returns:
- the name value
-
withName
Set name of the dimension.- Parameters:
name- the name value to set- Returns:
- the MetricDimension object itself.
-
operator
Get the dimension operator. Only 'Include' and 'Exclude' are supported.- Returns:
- the operator value
-
withOperator
Set the dimension operator. Only 'Include' and 'Exclude' are supported.- Parameters:
operator- the operator value to set- Returns:
- the MetricDimension object itself.
-
values
Get list of dimension values.- Returns:
- the values value
-
withValues
Set list of dimension values.- Parameters:
values- the values value to set- Returns:
- the MetricDimension object itself.
-