Class MeterDetailsResponse
- java.lang.Object
-
- com.azure.resourcemanager.consumption.models.MeterDetailsResponse
-
public final class MeterDetailsResponse extends Object
The properties of the meter detail.
-
-
Constructor Summary
Constructors Constructor Description MeterDetailsResponse()
-
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
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..String
serviceFamily()
Get the serviceFamily property: The service family.String
unitOfMeasure()
Get the unitOfMeasure 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.
-
unitOfMeasure
public String unitOfMeasure()
Get the unitOfMeasure property: The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.- Returns:
- the unitOfMeasure value.
-
serviceFamily
public String serviceFamily()
Get the serviceFamily property: The service family.- Returns:
- the serviceFamily value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-