Class ResourceUsageRecord
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.usage.UsageRecordBase
com.microsoft.store.partnercenter.models.usage.ResourceUsageRecord
public class ResourceUsageRecord extends UsageRecordBase
Defines the estimated monetary cost of a subscription's resource level usage in the current billing cycle.
-
Constructor Summary
Constructors Constructor Description ResourceUsageRecord() -
Method Summary
Modifier and Type Method Description StringgetEntitlementId()Gets the identifier for the entitlement.StringgetEntitlementName()Gets the name for the entitlement.StringgetName()Gets the name for the resource.StringgetResourceGroupName()Gets the name for the resource group.StringgetResourceType()Gets the type of resource.StringgetResourceUri()Gets the URI for the resource.StringgetSubscriptionId()Gets the identifier for the subscription.voidsetEntitlementId(String value)Sets the identifier for the entitlement.voidsetEntitlementName(String value)Sets the name for the entitlement.voidsetName(String value)Sets the name for the resource.voidsetResourceGroupName(String value)Sets the name for the resource group.voidsetResourceType(String value)Sets the type of resource.voidsetResourceUri(String value)Sets the URI for the resource.voidsetSubscriptionId(String value)Sets the identifier for the subscription.Methods inherited from class com.microsoft.store.partnercenter.models.usage.UsageRecordBase
getCurrencyLocale, getLastModifiedDate, getResourceId, getResourceName, getTotalCost, setCurrencyLocale, setId, setLastModifiedDate, setResourceName, setTotalCost
-
Constructor Details
-
ResourceUsageRecord
public ResourceUsageRecord()
-
-
Method Details
-
getEntitlementId
Gets the identifier for the entitlement.- Returns:
- The identifier for the entitlement.
-
setEntitlementId
Sets the identifier for the entitlement.- Parameters:
value- The identifier for the entitlement.
-
getEntitlementName
Gets the name for the entitlement.- Returns:
- The name for the entitlement.
-
setEntitlementName
Sets the name for the entitlement.- Parameters:
value- The name for the entitlement.
-
getName
Gets the name for the resource.- Returns:
- The name for the resource.
-
setName
Sets the name for the resource.- Parameters:
value- The name for the resource.
-
getResourceGroupName
Gets the name for the resource group.- Returns:
- The name for the resource group.
-
setResourceGroupName
Sets the name for the resource group.- Parameters:
value- The name for the resource group.
-
getResourceType
Gets the type of resource.- Returns:
- The type of resource.
-
setResourceType
Sets the type of resource.- Parameters:
value- The type of resource.
-
getResourceUri
Gets the URI for the resource.- Returns:
- The URI for the resource.
-
setResourceUri
Sets the URI for the resource.- Parameters:
value- The URI for the resource.
-
getSubscriptionId
Gets the identifier for the subscription.- Returns:
- The identifier for the subscription.
-
setSubscriptionId
Sets the identifier for the subscription.- Parameters:
value- The identifier for the subscription.
-