Class MeterDetails
- java.lang.Object
-
- com.azure.resourcemanager.consumption.models.MeterDetails
-
public final class MeterDetails extends Object
The properties of the meter detail.
-
-
Constructor Summary
Constructors Constructor Description MeterDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
meterCategory()
Get the meterCategory property: The category of the meter, for example, 'Cloud services', 'Networking', etc..String
meterLocation()
Get the meterLocation property: The location in which the Azure service is available.String
meterName()
Get the meterName property: The name of the meter, within the given meter category.String
meterSubCategory()
Get the meterSubCategory property: The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..BigDecimal
pretaxStandardRate()
Get the pretaxStandardRate property: The pretax listing price.String
serviceName()
Get the serviceName property: The name of the service.String
serviceTier()
Get the serviceTier property: The service tier.BigDecimal
totalIncludedQuantity()
Get the totalIncludedQuantity property: The total included quantity associated with the offer.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.
-
-
-
Method Detail
-
meterName
public String meterName()
Get the meterName property: The name of the meter, within the given meter category.- Returns:
- the meterName value.
-
meterCategory
public String meterCategory()
Get the meterCategory property: The category of the meter, for example, 'Cloud services', 'Networking', etc..- Returns:
- the meterCategory value.
-
meterSubCategory
public String meterSubCategory()
Get the meterSubCategory property: The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..- Returns:
- the meterSubCategory value.
-
unit
public String unit()
Get the unit property: The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.- Returns:
- the unit value.
-
meterLocation
public String meterLocation()
Get the meterLocation property: The location in which the Azure service is available.- Returns:
- the meterLocation value.
-
totalIncludedQuantity
public BigDecimal totalIncludedQuantity()
Get the totalIncludedQuantity property: The total included quantity associated with the offer.- Returns:
- the totalIncludedQuantity value.
-
pretaxStandardRate
public BigDecimal pretaxStandardRate()
Get the pretaxStandardRate property: The pretax listing price.- Returns:
- the pretaxStandardRate value.
-
serviceName
public String serviceName()
Get the serviceName property: The name of the service.- Returns:
- the serviceName value.
-
serviceTier
public String serviceTier()
Get the serviceTier property: The service tier.- Returns:
- the serviceTier value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-