MeterDetails Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. models. MeterDetails
- com.
Implements
public final class MeterDetails
implements JsonSerializable<MeterDetails>
The properties of the meter detail.
Constructor Summary
| Constructor | Description |
|---|---|
| MeterDetails() |
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 |
meterLocation()
Get the meter |
| String |
meterName()
Get the meter |
| String |
meterSubCategory()
Get the meter |
|
Big |
pretaxStandardRate()
Get the pretax |
| String |
serviceName()
Get the service |
| String |
serviceTier()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Big |
totalIncludedQuantity()
Get the total |
| String |
unit()
Get the unit property: The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
MeterDetails
public MeterDetails()
Creates an instance of MeterDetails class.
Method Details
fromJson
public static MeterDetails fromJson(JsonReader jsonReader)
Reads an instance of MeterDetails 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:
meterLocation
public String meterLocation()
Get the meterLocation property: The location in which the Azure service is available.
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:
pretaxStandardRate
public BigDecimal pretaxStandardRate()
Get the pretaxStandardRate property: The pretax listing price.
Returns:
serviceName
public String serviceName()
Get the serviceName property: The name of the service.
Returns:
serviceTier
public String serviceTier()
Get the serviceTier property: The service tier.
Returns:
toJson
totalIncludedQuantity
public BigDecimal totalIncludedQuantity()
Get the totalIncludedQuantity property: The total included quantity associated with the offer.
Returns:
unit
public String unit()
Get the unit property: The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.
Returns:
validate
public void validate()
Validates the instance.