Class DppTrackedResource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.dataprotection.models.DppBaseTrackedResource
com.azure.resourcemanager.dataprotection.models.DppTrackedResource
- Direct Known Subclasses:
BackupVaultResourceInner
The DppTrackedResource model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: DppIdentityDetailsvoid
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.resourcemanager.dataprotection.models.DppBaseTrackedResource
etag, systemData
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
-
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.
-
withEtag
Set the etag property: Optional ETag.- Overrides:
withEtag
in classDppBaseTrackedResource
- Parameters:
etag
- the etag value to set.- Returns:
- the DppBaseTrackedResource object itself.
-
withLocation
- Overrides:
withLocation
in classDppBaseTrackedResource
-
withTags
- Overrides:
withTags
in classDppBaseTrackedResource
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDppBaseTrackedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-