java.lang.Object
com.azure.resourcemanager.billingbenefits.models.Utilization

public final class Utilization extends Object
Savings plan utilization.
  • Constructor Details

    • Utilization

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

    • trend

      public String trend()
      Get the trend property: The number of days trend for a savings plan.
      Returns:
      the trend value.
    • aggregates

      public List<UtilizationAggregates> aggregates()
      Get the aggregates property: The array of aggregates of a savings plan's utilization.
      Returns:
      the aggregates value.
    • withAggregates

      public Utilization withAggregates(List<UtilizationAggregates> aggregates)
      Set the aggregates property: The array of aggregates of a savings plan's utilization.
      Parameters:
      aggregates - the aggregates value to set.
      Returns:
      the Utilization object itself.
    • validate

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