UtilizationAggregates Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. UtilizationAggregates
- com.
Implements
public final class UtilizationAggregates
implements JsonSerializable<UtilizationAggregates>
The aggregate values of savings plan utilization.
Constructor Summary
| Constructor | Description |
|---|---|
| UtilizationAggregates() |
Creates an instance of Utilization |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Utilization |
fromJson(JsonReader jsonReader)
Reads an instance of Utilization |
| Float |
grain()
Get the grain property: The grain of the aggregate. |
| String |
grainUnit()
Get the grain |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Float |
value()
Get the value property: The aggregate value. |
| String |
valueUnit()
Get the value |
Methods inherited from java.lang.Object
Constructor Details
UtilizationAggregates
public UtilizationAggregates()
Creates an instance of UtilizationAggregates class.
Method Details
fromJson
public static UtilizationAggregates fromJson(JsonReader jsonReader)
Reads an instance of UtilizationAggregates from the JsonReader.
Parameters:
Returns:
Throws:
grain
public Float grain()
Get the grain property: The grain of the aggregate.
Returns:
grainUnit
public String grainUnit()
Get the grainUnit property: The grain unit of the aggregate.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public Float value()
Get the value property: The aggregate value.
Returns:
valueUnit
public String valueUnit()
Get the valueUnit property: The aggregate value unit.
Returns: