Class MetricSpecification

java.lang.Object
com.microsoft.azure.management.network.MetricSpecification

public class MetricSpecification extends Object
Description of metrics specification.
  • Constructor Details

    • MetricSpecification

      public MetricSpecification()
  • Method Details

    • name

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

      public MetricSpecification withName(String name)
      Set the name of the metric.
      Parameters:
      name - the name value to set
      Returns:
      the MetricSpecification object itself.
    • displayName

      public String displayName()
      Get the display name of the metric.
      Returns:
      the displayName value
    • withDisplayName

      public MetricSpecification withDisplayName(String displayName)
      Set the display name of the metric.
      Parameters:
      displayName - the displayName value to set
      Returns:
      the MetricSpecification object itself.
    • displayDescription

      public String displayDescription()
      Get the description of the metric.
      Returns:
      the displayDescription value
    • withDisplayDescription

      public MetricSpecification withDisplayDescription(String displayDescription)
      Set the description of the metric.
      Parameters:
      displayDescription - the displayDescription value to set
      Returns:
      the MetricSpecification object itself.
    • unit

      public String unit()
      Get units the metric to be displayed in.
      Returns:
      the unit value
    • withUnit

      public MetricSpecification withUnit(String unit)
      Set units the metric to be displayed in.
      Parameters:
      unit - the unit value to set
      Returns:
      the MetricSpecification object itself.
    • aggregationType

      public String aggregationType()
      Get the aggregation type.
      Returns:
      the aggregationType value
    • withAggregationType

      public MetricSpecification withAggregationType(String aggregationType)
      Set the aggregation type.
      Parameters:
      aggregationType - the aggregationType value to set
      Returns:
      the MetricSpecification object itself.
    • availabilities

      public List<Availability> availabilities()
      Get list of availability.
      Returns:
      the availabilities value
    • withAvailabilities

      public MetricSpecification withAvailabilities(List<Availability> availabilities)
      Set list of availability.
      Parameters:
      availabilities - the availabilities value to set
      Returns:
      the MetricSpecification object itself.
    • enableRegionalMdmAccount

      public Boolean enableRegionalMdmAccount()
      Get whether regional MDM account enabled.
      Returns:
      the enableRegionalMdmAccount value
    • withEnableRegionalMdmAccount

      public MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
      Set whether regional MDM account enabled.
      Parameters:
      enableRegionalMdmAccount - the enableRegionalMdmAccount value to set
      Returns:
      the MetricSpecification object itself.
    • fillGapWithZero

      public Boolean fillGapWithZero()
      Get whether gaps would be filled with zeros.
      Returns:
      the fillGapWithZero value
    • withFillGapWithZero

      public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)
      Set whether gaps would be filled with zeros.
      Parameters:
      fillGapWithZero - the fillGapWithZero value to set
      Returns:
      the MetricSpecification object itself.
    • metricFilterPattern

      public String metricFilterPattern()
      Get pattern for the filter of the metric.
      Returns:
      the metricFilterPattern value
    • withMetricFilterPattern

      public MetricSpecification withMetricFilterPattern(String metricFilterPattern)
      Set pattern for the filter of the metric.
      Parameters:
      metricFilterPattern - the metricFilterPattern value to set
      Returns:
      the MetricSpecification object itself.
    • dimensions

      public List<Dimension> dimensions()
      Get list of dimensions.
      Returns:
      the dimensions value
    • withDimensions

      public MetricSpecification withDimensions(List<Dimension> dimensions)
      Set list of dimensions.
      Parameters:
      dimensions - the dimensions value to set
      Returns:
      the MetricSpecification object itself.
    • isInternal

      public Boolean isInternal()
      Get whether the metric is internal.
      Returns:
      the isInternal value
    • withIsInternal

      public MetricSpecification withIsInternal(Boolean isInternal)
      Set whether the metric is internal.
      Parameters:
      isInternal - the isInternal value to set
      Returns:
      the MetricSpecification object itself.
    • sourceMdmAccount

      public String sourceMdmAccount()
      Get the source MDM account.
      Returns:
      the sourceMdmAccount value
    • withSourceMdmAccount

      public MetricSpecification withSourceMdmAccount(String sourceMdmAccount)
      Set the source MDM account.
      Parameters:
      sourceMdmAccount - the sourceMdmAccount value to set
      Returns:
      the MetricSpecification object itself.
    • sourceMdmNamespace

      public String sourceMdmNamespace()
      Get the source MDM namespace.
      Returns:
      the sourceMdmNamespace value
    • withSourceMdmNamespace

      public MetricSpecification withSourceMdmNamespace(String sourceMdmNamespace)
      Set the source MDM namespace.
      Parameters:
      sourceMdmNamespace - the sourceMdmNamespace value to set
      Returns:
      the MetricSpecification object itself.
    • resourceIdDimensionNameOverride

      public String resourceIdDimensionNameOverride()
      Get the resource Id dimension name override.
      Returns:
      the resourceIdDimensionNameOverride value
    • withResourceIdDimensionNameOverride

      public MetricSpecification withResourceIdDimensionNameOverride(String resourceIdDimensionNameOverride)
      Set the resource Id dimension name override.
      Parameters:
      resourceIdDimensionNameOverride - the resourceIdDimensionNameOverride value to set
      Returns:
      the MetricSpecification object itself.