Class Dimension

java.lang.Object
com.microsoft.azure.management.monitor.Dimension

public class Dimension extends Object
Specifies the criteria for converting log to metric.
  • Constructor Details

    • Dimension

      public Dimension()
      Creates an instance of Dimension class.
  • Method Details

    • name

      public String name()
      Get name of the dimension.
      Returns:
      the name value
    • withName

      public Dimension withName(String name)
      Set name of the dimension.
      Parameters:
      name - the name value to set
      Returns:
      the Dimension object itself.
    • operator

      public String operator()
      Get operator for dimension values.
      Returns:
      the operator value
    • withOperator

      public Dimension withOperator(String operator)
      Set operator for dimension values.
      Parameters:
      operator - the operator value to set
      Returns:
      the Dimension object itself.
    • values

      public List<String> values()
      Get list of dimension values.
      Returns:
      the values value
    • withValues

      public Dimension withValues(List<String> values)
      Set list of dimension values.
      Parameters:
      values - the values value to set
      Returns:
      the Dimension object itself.