Class OperationMetricSpecificationDefinition

java.lang.Object
com.microsoft.azure.management.containerregistry.OperationMetricSpecificationDefinition

public class OperationMetricSpecificationDefinition extends Object
The definition of Azure Monitoring metric.
  • Constructor Details

    • OperationMetricSpecificationDefinition

      public OperationMetricSpecificationDefinition()
  • Method Details

    • name

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

      Set metric name.
      Parameters:
      name - the name value to set
      Returns:
      the OperationMetricSpecificationDefinition object itself.
    • displayName

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

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

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

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

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

      Set metric unit.
      Parameters:
      unit - the unit value to set
      Returns:
      the OperationMetricSpecificationDefinition object itself.
    • aggregationType

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

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

      public String internalMetricName()
      Get internal metric name.
      Returns:
      the internalMetricName value
    • withInternalMetricName

      public OperationMetricSpecificationDefinition withInternalMetricName(String internalMetricName)
      Set internal metric name.
      Parameters:
      internalMetricName - the internalMetricName value to set
      Returns:
      the OperationMetricSpecificationDefinition object itself.