Utilization Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. Utilization
- com.
Implements
public final class Utilization
implements JsonSerializable<Utilization>
Savings plan utilization.
Constructor Summary
| Constructor | Description |
|---|---|
| Utilization() |
Creates an instance of Utilization class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Utilization |
aggregates()
Get the aggregates property: The array of aggregates of a savings plan's utilization. |
| static Utilization |
fromJson(JsonReader jsonReader)
Reads an instance of Utilization from the Json |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
trend()
Get the trend property: The trend for a savings plan's utilization. |
| void |
validate()
Validates the instance. |
| Utilization |
withAggregates(List<UtilizationAggregates> aggregates)
Set the aggregates property: The array of aggregates of a savings plan's utilization. |
Methods inherited from java.lang.Object
Constructor Details
Utilization
public Utilization()
Creates an instance of Utilization class.
Method Details
aggregates
public List<UtilizationAggregates> aggregates()
Get the aggregates property: The array of aggregates of a savings plan's utilization.
Returns:
fromJson
public static Utilization fromJson(JsonReader jsonReader)
Reads an instance of Utilization from the JsonReader.
Parameters:
Returns:
Throws:
toJson
trend
public String trend()
Get the trend property: The trend for a savings plan's utilization.
Returns:
validate
public void validate()
Validates the instance.
withAggregates
public Utilization withAggregates(List<UtilizationAggregates> aggregates)
Set the aggregates property: The array of aggregates of a savings plan's utilization.
Parameters:
Returns: