MeterUsageRecord Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. usage. UsageRecordBase - com.
microsoft. store. partnercenter. models. usage. MeterUsageRecord
- com.
- com.
- com.
public class MeterUsageRecord extends UsageRecordBase
Defines the estimated monetary cost of a subscription's meter level usage in the current billing cycle.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| MeterUsageRecord() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getCategory()
Gets the category for the Azure resource. |
| java.lang.String |
getMeterId()
Gets the identifier for the meter. |
| java.lang.String |
getMeterName()
Gets the name for the meter. |
| double |
getQuantityUsed()
Gets the quantity of the Azure resource used. |
| java.lang.String |
getSubcategory()
Gets the sub-category for the Azure resource. |
| java.lang.String |
getSubscriptionId()
Gets the identifier for the subscription. |
| java.lang.String |
getUnit()
Gets the unit of measure for the Azure resource. |
| void |
setCategory(String value)
Sets the category for the Azure resource. |
| void |
setMeterId(String value)
Sets the identifier for the meter. |
| void |
setMeterName(String value)
Sets the name for the meter. |
| void |
setQuantityUsed(double value)
Sets the quantity of the Azure resource used. |
| void |
setSubcategory(String value)
Sets the sub-category for the Azure resource. |
| void |
setSubscriptionId(String value)
Sets the identifier for the subscription. |
| void |
setUnit(String value)
Sets the unit of measure for the Azure resource. |
Inherited Members
Constructor Details
MeterUsageRecord
public MeterUsageRecord()
Method Details
getCategory
public String getCategory()
Gets the category for the Azure resource.
Returns:
getMeterId
public String getMeterId()
Gets the identifier for the meter.
Returns:
getMeterName
public String getMeterName()
Gets the name for the meter.
Returns:
getQuantityUsed
public double getQuantityUsed()
Gets the quantity of the Azure resource used.
Returns:
getSubcategory
public String getSubcategory()
Gets the sub-category for the Azure resource.
Returns:
getSubscriptionId
public String getSubscriptionId()
Gets the identifier for the subscription.
Returns:
getUnit
public String getUnit()
Gets the unit of measure for the Azure resource.
Returns:
setCategory
public void setCategory(String value)
Sets the category for the Azure resource.
Parameters:
setMeterId
public void setMeterId(String value)
Sets the identifier for the meter.
Parameters:
setMeterName
public void setMeterName(String value)
Sets the name for the meter.
Parameters:
setQuantityUsed
public void setQuantityUsed(double value)
Sets the quantity of the Azure resource used.
Parameters:
setSubcategory
public void setSubcategory(String value)
Sets the sub-category for the Azure resource.
Parameters:
setSubscriptionId
public void setSubscriptionId(String value)
Sets the identifier for the subscription.
Parameters:
setUnit
public void setUnit(String value)
Sets the unit of measure for the Azure resource.
Parameters: