Class DppTrackedResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.dataprotection.models.DppTrackedResource
- Direct Known Subclasses:
BackupVaultResourceInner
,ResourceGuardResourceInner
public class DppTrackedResource
extends com.azure.core.management.Resource
The DppTrackedResource model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: Optional ETag.identity()
Get the identity property: DppIdentityDetailscom.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.Set the etag property: Optional ETag.withIdentity
(DppIdentityDetails identity) Set the identity property: DppIdentityDetailswithLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DppTrackedResource
public DppTrackedResource()Creates an instance of DppTrackedResource class.
-
-
Method Details
-
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 DppTrackedResource object itself.
-
identity
Get the identity property: DppIdentityDetailsInput Managed Identity Details.
- Returns:
- the identity value.
-
withIdentity
Set the identity property: DppIdentityDetailsInput Managed Identity Details.
- Parameters:
identity
- the identity value to set.- Returns:
- the DppTrackedResource object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-