Class CostManagementProxyResource

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.costmanagement.models.CostManagementProxyResource
Direct Known Subclasses:
AlertInner, ExportInner, ExportRunInner, ViewInner

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

    • CostManagementProxyResource

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

    • etag

      public String etag()
      Get the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
      Returns:
      the etag value.
    • withEtag

      public CostManagementProxyResource withEtag(String etag)
      Set the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
      Parameters:
      etag - the etag value to set.
      Returns:
      the CostManagementProxyResource object itself.
    • validate

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