Class PatchTrackedResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.recoveryservices.models.PatchTrackedResource
- Direct Known Subclasses:
PatchVault
public class PatchTrackedResource
extends com.azure.core.management.ProxyResource
Tracked resource with location.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: Optional ETag.location()
Get the location property: Resource location.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.Set the etag property: Optional ETag.withLocation
(String location) Set the location property: Resource location.Set the tags property: Resource tags.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PatchTrackedResource
public PatchTrackedResource()
-
-
Method Details
-
location
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
Set the location property: Resource location.- Parameters:
location
- the location value to set.- Returns:
- the PatchTrackedResource object itself.
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the PatchTrackedResource object itself.
-
etag
Get the etag property: Optional ETag.- Returns:
- the etag value.
-
withEtag
Set the etag property: Optional ETag.- Parameters:
etag
- the etag value to set.- Returns:
- the PatchTrackedResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-