java.lang.Object
com.azure.resourcemanager.workloads.models.SkuCost

public final class SkuCost extends Object
The SKU cost definition.
  • Constructor Details

    • SkuCost

      public SkuCost()
  • Method Details

    • meterId

      public String meterId()
      Get the meterId property: Billing meter id.
      Returns:
      the meterId value.
    • withMeterId

      public SkuCost withMeterId(String meterId)
      Set the meterId property: Billing meter id.
      Parameters:
      meterId - the meterId value to set.
      Returns:
      the SkuCost object itself.
    • quantity

      public Integer quantity()
      Get the quantity property: The quantity.
      Returns:
      the quantity value.
    • withQuantity

      public SkuCost withQuantity(Integer quantity)
      Set the quantity property: The quantity.
      Parameters:
      quantity - the quantity value to set.
      Returns:
      the SkuCost object itself.
    • extendedUnit

      public String extendedUnit()
      Get the extendedUnit property: The extended unit.
      Returns:
      the extendedUnit value.
    • withExtendedUnit

      public SkuCost withExtendedUnit(String extendedUnit)
      Set the extendedUnit property: The extended unit.
      Parameters:
      extendedUnit - the extendedUnit value to set.
      Returns:
      the SkuCost object itself.
    • validate

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