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 Summary
ConstructorsConstructorDescriptionCreates an instance of CostManagementProxyResource class. -
Method Summary
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CostManagementProxyResource
public CostManagementProxyResource()Creates an instance of CostManagementProxyResource class.
-
-
Method Details
-
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
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.
-