Class Utilization
java.lang.Object
com.azure.resourcemanager.billingbenefits.models.Utilization
Savings plan utilization.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aggregates property: The array of aggregates of a savings plan's utilization.trend()
Get the trend property: The number of days trend for a savings plan.void
validate()
Validates the instance.withAggregates
(List<UtilizationAggregates> aggregates) Set the aggregates property: The array of aggregates of a savings plan's utilization.
-
Constructor Details
-
Utilization
public Utilization()Creates an instance of Utilization class.
-
-
Method Details
-
trend
Get the trend property: The number of days trend for a savings plan.- Returns:
- the trend value.
-
aggregates
Get the aggregates property: The array of aggregates of a savings plan's utilization.- Returns:
- the aggregates value.
-
withAggregates
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.
-