Class MetricSpecification

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

public class MetricSpecification extends Object
Definition of a single resource metric.
  • Constructor Details

    • MetricSpecification

      public MetricSpecification()
  • Method Details

    • name

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

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

      public String displayName()
      Get the displayName value.
      Returns:
      the displayName value
    • withDisplayName

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

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

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

      public String unit()
      Get the unit value.
      Returns:
      the unit value
    • withUnit

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

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

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

      public Boolean supportsInstanceLevelAggregation()
      Get the supportsInstanceLevelAggregation value.
      Returns:
      the supportsInstanceLevelAggregation value
    • withSupportsInstanceLevelAggregation

      public MetricSpecification withSupportsInstanceLevelAggregation(Boolean supportsInstanceLevelAggregation)
      Set the supportsInstanceLevelAggregation value.
      Parameters:
      supportsInstanceLevelAggregation - the supportsInstanceLevelAggregation value to set
      Returns:
      the MetricSpecification object itself.
    • enableRegionalMdmAccount

      public Boolean enableRegionalMdmAccount()
      Get the enableRegionalMdmAccount value.
      Returns:
      the enableRegionalMdmAccount value
    • withEnableRegionalMdmAccount

      public MetricSpecification withEnableRegionalMdmAccount(Boolean enableRegionalMdmAccount)
      Set the enableRegionalMdmAccount value.
      Parameters:
      enableRegionalMdmAccount - the enableRegionalMdmAccount value to set
      Returns:
      the MetricSpecification object itself.
    • sourceMdmAccount

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

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

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

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

      public String metricFilterPattern()
      Get the metricFilterPattern value.
      Returns:
      the metricFilterPattern value
    • withMetricFilterPattern

      public MetricSpecification withMetricFilterPattern(String metricFilterPattern)
      Set the metricFilterPattern value.
      Parameters:
      metricFilterPattern - the metricFilterPattern value to set
      Returns:
      the MetricSpecification object itself.
    • fillGapWithZero

      public Boolean fillGapWithZero()
      Get the fillGapWithZero value.
      Returns:
      the fillGapWithZero value
    • withFillGapWithZero

      public MetricSpecification withFillGapWithZero(Boolean fillGapWithZero)
      Set the fillGapWithZero value.
      Parameters:
      fillGapWithZero - the fillGapWithZero value to set
      Returns:
      the MetricSpecification object itself.
    • isInternal

      public Boolean isInternal()
      Get the isInternal value.
      Returns:
      the isInternal value
    • withIsInternal

      public MetricSpecification withIsInternal(Boolean isInternal)
      Set the isInternal value.
      Parameters:
      isInternal - the isInternal value to set
      Returns:
      the MetricSpecification object itself.
    • dimensions

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

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

      public String category()
      Get the category value.
      Returns:
      the category value
    • withCategory

      public MetricSpecification withCategory(String category)
      Set the category value.
      Parameters:
      category - the category value to set
      Returns:
      the MetricSpecification object itself.
    • availabilities

      public List<MetricAvailability> availabilities()
      Get the availabilities value.
      Returns:
      the availabilities value
    • withAvailabilities

      public MetricSpecification withAvailabilities(List<MetricAvailability> availabilities)
      Set the availabilities value.
      Parameters:
      availabilities - the availabilities value to set
      Returns:
      the MetricSpecification object itself.
    • supportedTimeGrainTypes

      public List<String> supportedTimeGrainTypes()
      Get the supportedTimeGrainTypes value.
      Returns:
      the supportedTimeGrainTypes value
    • withSupportedTimeGrainTypes

      public MetricSpecification withSupportedTimeGrainTypes(List<String> supportedTimeGrainTypes)
      Set the supportedTimeGrainTypes value.
      Parameters:
      supportedTimeGrainTypes - the supportedTimeGrainTypes value to set
      Returns:
      the MetricSpecification object itself.