ResourceUsageRecord Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. usage. UsageRecordBase - com.
microsoft. store. partnercenter. models. usage. ResourceUsageRecord
- com.
- com.
- com.
public class ResourceUsageRecord extends UsageRecordBase
Defines the estimated monetary cost of a subscription's resource level usage in the current billing cycle.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ResourceUsageRecord() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getEntitlementId()
Gets the identifier for the entitlement. |
| java.lang.String |
getEntitlementName()
Gets the name for the entitlement. |
| java.lang.String |
getName()
Gets the name for the resource. |
| java.lang.String |
getResourceGroupName()
Gets the name for the resource group. |
| java.lang.String |
getResourceType()
Gets the type of resource. |
| java.lang.String |
getResourceUri()
Gets the URI for the resource. |
| java.lang.String |
getSubscriptionId()
Gets the identifier for the subscription. |
| void |
setEntitlementId(String value)
Sets the identifier for the entitlement. |
| void |
setEntitlementName(String value)
Sets the name for the entitlement. |
| void |
setName(String value)
Sets the name for the resource. |
| void |
setResourceGroupName(String value)
Sets the name for the resource group. |
| void |
setResourceType(String value)
Sets the type of resource. |
| void |
setResourceUri(String value)
Sets the URI for the resource. |
| void |
setSubscriptionId(String value)
Sets the identifier for the subscription. |
Inherited Members
Constructor Details
ResourceUsageRecord
public ResourceUsageRecord()
Method Details
getEntitlementId
public String getEntitlementId()
Gets the identifier for the entitlement.
Returns:
getEntitlementName
public String getEntitlementName()
Gets the name for the entitlement.
Returns:
getName
public String getName()
Gets the name for the resource.
Returns:
getResourceGroupName
public String getResourceGroupName()
Gets the name for the resource group.
Returns:
getResourceType
public String getResourceType()
Gets the type of resource.
Returns:
getResourceUri
public String getResourceUri()
Gets the URI for the resource.
Returns:
getSubscriptionId
public String getSubscriptionId()
Gets the identifier for the subscription.
Returns:
setEntitlementId
public void setEntitlementId(String value)
Sets the identifier for the entitlement.
Parameters:
setEntitlementName
public void setEntitlementName(String value)
Sets the name for the entitlement.
Parameters:
setName
public void setName(String value)
Sets the name for the resource.
Parameters:
setResourceGroupName
public void setResourceGroupName(String value)
Sets the name for the resource group.
Parameters:
setResourceType
public void setResourceType(String value)
Sets the type of resource.
Parameters:
setResourceUri
public void setResourceUri(String value)
Sets the URI for the resource.
Parameters:
setSubscriptionId
public void setSubscriptionId(String value)
Sets the identifier for the subscription.
Parameters: