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
Constructors Constructor Description DppTrackedResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Optional ETag.DppIdentityDetails
identity()
Get the identity property: DppIdentityDetails Input Managed Identity Details.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.DppTrackedResource
withEtag(String etag)
Set the etag property: Optional ETag.DppTrackedResource
withIdentity(DppIdentityDetails identity)
Set the identity property: DppIdentityDetails Input Managed Identity Details.DppTrackedResource
withLocation(String location)
DppTrackedResource
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: Optional ETag.- Returns:
- the etag value.
-
withEtag
public DppTrackedResource withEtag(String etag)
Set the etag property: Optional ETag.- Parameters:
etag
- the etag value to set.- Returns:
- the DppTrackedResource object itself.
-
identity
public DppIdentityDetails identity()
Get the identity property: DppIdentityDetails Input Managed Identity Details.- Returns:
- the identity value.
-
withIdentity
public DppTrackedResource withIdentity(DppIdentityDetails identity)
Set the identity property: DppIdentityDetails Input 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
public DppTrackedResource withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public DppTrackedResource withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-