Class MeterUsageRecord


public class MeterUsageRecord
extends UsageRecordBase
Defines the estimated monetary cost of a subscription's meter level usage in the current billing cycle.
  • Constructor Details

  • Method Details

    • getCategory

      public String getCategory()
      Gets the category for the Azure resource.
      Returns:
      The category for the Azure resource.
    • setCategory

      public void setCategory​(String value)
      Sets the category for the Azure resource.
      Parameters:
      value - The category for the Azure resource.
    • getMeterId

      public String getMeterId()
      Gets the identifier for the meter.
      Returns:
      The identifier for the meter.
    • setMeterId

      public void setMeterId​(String value)
      Sets the identifier for the meter.
      Parameters:
      value - The identifier for the meter.
    • getMeterName

      public String getMeterName()
      Gets the name for the meter.
      Returns:
      The name for the meter.
    • setMeterName

      public void setMeterName​(String value)
      Sets the name for the meter.
      Parameters:
      value - The name for the meter.
    • getQuantityUsed

      public double getQuantityUsed()
      Gets the quantity of the Azure resource used.
      Returns:
      The quantity of the Azure resource used.
    • setQuantityUsed

      public void setQuantityUsed​(double value)
      Sets the quantity of the Azure resource used.
      Parameters:
      value - The quantity of the Azure resource used.
    • getSubcategory

      public String getSubcategory()
      Gets the sub-category for the Azure resource.
      Returns:
      The sub-category for the Azure resource.
    • setSubcategory

      public void setSubcategory​(String value)
      Sets the sub-category for the Azure resource.
      Parameters:
      value - The sub-category for the Azure resource.
    • getSubscriptionId

      public String getSubscriptionId()
      Gets the identifier for the subscription.
      Returns:
      The identifier for the subscription.
    • setSubscriptionId

      public void setSubscriptionId​(String value)
      Sets the identifier for the subscription.
      Parameters:
      value - The identifier for the subscription.
    • getUnit

      public String getUnit()
      Gets the unit of measure for the Azure resource.
      Returns:
      The unit of measure for the Azure resource.
    • setUnit

      public void setUnit​(String value)
      Sets the unit of measure for the Azure resource.
      Parameters:
      value - The unit of measure for the Azure resource.