Class CostManagementResource

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.costmanagement.models.CostManagementResource
Direct Known Subclasses:
DimensionInner, ForecastResultInner, QueryResultInner

public class CostManagementResource extends com.azure.core.management.Resource
The Resource model definition.
  • Constructor Details

    • CostManagementResource

      public CostManagementResource()
      Creates an instance of CostManagementResource class.
  • Method Details

    • sku

      public String sku()
      Get the sku property: SKU of the resource.
      Returns:
      the sku value.
    • etag

      public String etag()
      Get the etag property: ETag of the resource.
      Returns:
      the etag value.
    • withLocation

      public CostManagementResource withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public CostManagementResource withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.