Uses of Class
com.azure.resourcemanager.recoveryservicesbackup.models.GenericProtectedItem
Package
Description
Package containing the data models for RecoveryServicesBackupClient.
-
Uses of GenericProtectedItem in com.azure.resourcemanager.recoveryservicesbackup.models
Modifier and TypeMethodDescriptionGenericProtectedItem.withBackupSetName
(String backupSetName) Set the backupSetName property: Name of the backup set the backup item belongs to.GenericProtectedItem.withContainerName
(String containerName) Set the containerName property: Unique name of container.GenericProtectedItem.withCreateMode
(CreateMode createMode) Set the createMode property: Create mode to indicate recovery of existing soft deleted data source or creation of new data source.GenericProtectedItem.withDeferredDeleteTimeInUtc
(OffsetDateTime deferredDeleteTimeInUtc) Set the deferredDeleteTimeInUtc property: Time for deferred deletion in UTC.GenericProtectedItem.withDeferredDeleteTimeRemaining
(String deferredDeleteTimeRemaining) Set the deferredDeleteTimeRemaining property: Time remaining before the DS marked for deferred delete is permanently deleted.GenericProtectedItem.withFabricName
(String fabricName) Set the fabricName property: Name of this backup item's fabric.GenericProtectedItem.withFriendlyName
(String friendlyName) Set the friendlyName property: Friendly name of the container.GenericProtectedItem.withIsArchiveEnabled
(Boolean isArchiveEnabled) Set the isArchiveEnabled property: Flag to identify whether datasource is protected in archive.GenericProtectedItem.withIsDeferredDeleteScheduleUpcoming
(Boolean isDeferredDeleteScheduleUpcoming) Set the isDeferredDeleteScheduleUpcoming property: Flag to identify whether the deferred deleted DS is to be purged soon.GenericProtectedItem.withIsRehydrate
(Boolean isRehydrate) Set the isRehydrate property: Flag to identify that deferred deleted DS is to be moved into Pause state.GenericProtectedItem.withIsScheduledForDeferredDelete
(Boolean isScheduledForDeferredDelete) Set the isScheduledForDeferredDelete property: Flag to identify whether the DS is scheduled for deferred delete.GenericProtectedItem.withLastRecoveryPoint
(OffsetDateTime lastRecoveryPoint) Set the lastRecoveryPoint property: Timestamp when the last (latest) backup copy was created for this backup item.GenericProtectedItem.withPolicyId
(String policyId) Set the policyId property: ID of the backup policy with which this item is backed up.GenericProtectedItem.withPolicyName
(String policyName) Set the policyName property: Name of the policy used for protection.GenericProtectedItem.withPolicyState
(String policyState) Set the policyState property: Indicates consistency of policy object and policy applied to this backup item.GenericProtectedItem.withProtectedItemId
(Long protectedItemId) Set the protectedItemId property: Data Plane Service ID of the protected item.GenericProtectedItem.withProtectionState
(ProtectionState protectionState) Set the protectionState property: Backup state of this backup item.GenericProtectedItem.withResourceGuardOperationRequests
(List<String> resourceGuardOperationRequests) Set the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.GenericProtectedItem.withSoftDeleteRetentionPeriod
(Integer softDeleteRetentionPeriod) Set the softDeleteRetentionPeriod property: Soft delete retention period in days.GenericProtectedItem.withSourceAssociations
(Map<String, String> sourceAssociations) Set the sourceAssociations property: Loosely coupled (type, value) associations (example - parent of a protected item).GenericProtectedItem.withSourceResourceId
(String sourceResourceId) Set the sourceResourceId property: ARM ID of the resource to be backed up.