Class BillingMeterProperties

java.lang.Object
com.azure.resourcemanager.appcontainers.models.BillingMeterProperties

public final class BillingMeterProperties extends Object
Revision resource specific properties.
  • Constructor Details

    • BillingMeterProperties

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

    • category

      public Category category()
      Get the category property: Used to map workload profile types to billing meter.
      Returns:
      the category value.
    • withCategory

      public BillingMeterProperties withCategory(Category category)
      Set the category property: Used to map workload profile types to billing meter.
      Parameters:
      category - the category value to set.
      Returns:
      the BillingMeterProperties object itself.
    • meterType

      public String meterType()
      Get the meterType property: Billing meter type.
      Returns:
      the meterType value.
    • withMeterType

      public BillingMeterProperties withMeterType(String meterType)
      Set the meterType property: Billing meter type.
      Parameters:
      meterType - the meterType value to set.
      Returns:
      the BillingMeterProperties object itself.
    • displayName

      public String displayName()
      Get the displayName property: The everyday name of the billing meter.
      Returns:
      the displayName value.
    • withDisplayName

      public BillingMeterProperties withDisplayName(String displayName)
      Set the displayName property: The everyday name of the billing meter.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the BillingMeterProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.