ReservationUtilizationAggregates Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. ReservationUtilizationAggregates
- com.
Implements
public final class ReservationUtilizationAggregates
implements JsonSerializable<ReservationUtilizationAggregates>
The aggregate values of reservation utilization.
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationUtilizationAggregates() |
Creates an instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Reservation |
fromJson(JsonReader jsonReader)
Reads an instance of Reservation |
| 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
ReservationUtilizationAggregates
public ReservationUtilizationAggregates()
Creates an instance of ReservationUtilizationAggregates class.
Method Details
fromJson
public static ReservationUtilizationAggregates fromJson(JsonReader jsonReader)
Reads an instance of ReservationUtilizationAggregates 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: