Class MetricDimension
- java.lang.Object
-
- com.microsoft.azure.management.monitor.MetricDimension
-
public class MetricDimension extends Object
Specifies a metric dimension.
-
-
Constructor Summary
Constructors Constructor Description MetricDimension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get name of the dimension.Stringoperator()Get the dimension operator.List<String>values()Get list of dimension values.MetricDimensionwithName(String name)Set name of the dimension.MetricDimensionwithOperator(String operator)Set the dimension operator.MetricDimensionwithValues(List<String> values)Set list of dimension values.
-
-
-
Method Detail
-
name
public String name()
Get name of the dimension.- Returns:
- the name value
-
withName
public MetricDimension withName(String name)
Set name of the dimension.- Parameters:
name- the name value to set- Returns:
- the MetricDimension object itself.
-
operator
public String operator()
Get the dimension operator.- Returns:
- the operator value
-
withOperator
public MetricDimension withOperator(String operator)
Set the dimension operator.- Parameters:
operator- the operator value to set- Returns:
- the MetricDimension object itself.
-
withValues
public MetricDimension withValues(List<String> values)
Set list of dimension values.- Parameters:
values- the values value to set- Returns:
- the MetricDimension object itself.
-
-