MeterDetailsResponse Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. models. MeterDetailsResponse
- com.
Implements
public final class MeterDetailsResponse
implements JsonSerializable<MeterDetailsResponse>
The properties of the meter detail.
Constructor Summary
| Constructor | Description |
|---|---|
| MeterDetailsResponse() |
Creates an instance of Meter |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Meter |
fromJson(JsonReader jsonReader)
Reads an instance of Meter |
| String |
meterCategory()
Get the meter |
| String |
meterName()
Get the meter |
| String |
meterSubCategory()
Get the meter |
| String |
serviceFamily()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
unitOfMeasure()
Get the unit |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
MeterDetailsResponse
public MeterDetailsResponse()
Creates an instance of MeterDetailsResponse class.
Method Details
fromJson
public static MeterDetailsResponse fromJson(JsonReader jsonReader)
Reads an instance of MeterDetailsResponse from the JsonReader.
Parameters:
Returns:
Throws:
meterCategory
public String meterCategory()
Get the meterCategory property: The category of the meter, for example, 'Cloud services', 'Networking', etc..
Returns:
meterName
public String meterName()
Get the meterName property: The name of the meter, within the given meter category.
Returns:
meterSubCategory
public String meterSubCategory()
Get the meterSubCategory property: The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..
Returns:
serviceFamily
public String serviceFamily()
Get the serviceFamily property: The service family.
Returns:
toJson
unitOfMeasure
public String unitOfMeasure()
Get the unitOfMeasure property: The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.
Returns:
validate
public void validate()
Validates the instance.