Class DpmProtectedItem


  • public final class DpmProtectedItem
    extends ProtectedItem
    Additional information on Backup engine specific backup item.
    • Constructor Detail

      • DpmProtectedItem

        public DpmProtectedItem()
    • Method Detail

      • friendlyName

        public String friendlyName()
        Get the friendlyName property: Friendly name of the managed item.
        Returns:
        the friendlyName value.
      • withFriendlyName

        public DpmProtectedItem withFriendlyName​(String friendlyName)
        Set the friendlyName property: Friendly name of the managed item.
        Parameters:
        friendlyName - the friendlyName value to set.
        Returns:
        the DpmProtectedItem object itself.
      • backupEngineName

        public String backupEngineName()
        Get the backupEngineName property: Backup Management server protecting this backup item.
        Returns:
        the backupEngineName value.
      • withBackupEngineName

        public DpmProtectedItem withBackupEngineName​(String backupEngineName)
        Set the backupEngineName property: Backup Management server protecting this backup item.
        Parameters:
        backupEngineName - the backupEngineName value to set.
        Returns:
        the DpmProtectedItem object itself.
      • protectionState

        public ProtectedItemState protectionState()
        Get the protectionState property: Protection state of the backup engine.
        Returns:
        the protectionState value.
      • withProtectionState

        public DpmProtectedItem withProtectionState​(ProtectedItemState protectionState)
        Set the protectionState property: Protection state of the backup engine.
        Parameters:
        protectionState - the protectionState value to set.
        Returns:
        the DpmProtectedItem object itself.
      • extendedInfo

        public DpmProtectedItemExtendedInfo extendedInfo()
        Get the extendedInfo property: Extended info of the backup item.
        Returns:
        the extendedInfo value.
      • withExtendedInfo

        public DpmProtectedItem withExtendedInfo​(DpmProtectedItemExtendedInfo extendedInfo)
        Set the extendedInfo property: Extended info of the backup item.
        Parameters:
        extendedInfo - the extendedInfo value to set.
        Returns:
        the DpmProtectedItem object itself.
      • withBackupManagementType

        public DpmProtectedItem withBackupManagementType​(BackupManagementType backupManagementType)
        Set the backupManagementType property: Type of backup management for the backed up item.
        Overrides:
        withBackupManagementType in class ProtectedItem
        Parameters:
        backupManagementType - the backupManagementType value to set.
        Returns:
        the ProtectedItem object itself.
      • withWorkloadType

        public DpmProtectedItem withWorkloadType​(DataSourceType workloadType)
        Set the workloadType property: Type of workload this item represents.
        Overrides:
        withWorkloadType in class ProtectedItem
        Parameters:
        workloadType - the workloadType value to set.
        Returns:
        the ProtectedItem object itself.
      • withContainerName

        public DpmProtectedItem withContainerName​(String containerName)
        Set the containerName property: Unique name of container.
        Overrides:
        withContainerName in class ProtectedItem
        Parameters:
        containerName - the containerName value to set.
        Returns:
        the ProtectedItem object itself.
      • withSourceResourceId

        public DpmProtectedItem withSourceResourceId​(String sourceResourceId)
        Set the sourceResourceId property: ARM ID of the resource to be backed up.
        Overrides:
        withSourceResourceId in class ProtectedItem
        Parameters:
        sourceResourceId - the sourceResourceId value to set.
        Returns:
        the ProtectedItem object itself.
      • withPolicyId

        public DpmProtectedItem withPolicyId​(String policyId)
        Set the policyId property: ID of the backup policy with which this item is backed up.
        Overrides:
        withPolicyId in class ProtectedItem
        Parameters:
        policyId - the policyId value to set.
        Returns:
        the ProtectedItem object itself.
      • withLastRecoveryPoint

        public DpmProtectedItem withLastRecoveryPoint​(OffsetDateTime lastRecoveryPoint)
        Set the lastRecoveryPoint property: Timestamp when the last (latest) backup copy was created for this backup item.
        Overrides:
        withLastRecoveryPoint in class ProtectedItem
        Parameters:
        lastRecoveryPoint - the lastRecoveryPoint value to set.
        Returns:
        the ProtectedItem object itself.
      • withBackupSetName

        public DpmProtectedItem withBackupSetName​(String backupSetName)
        Set the backupSetName property: Name of the backup set the backup item belongs to.
        Overrides:
        withBackupSetName in class ProtectedItem
        Parameters:
        backupSetName - the backupSetName value to set.
        Returns:
        the ProtectedItem object itself.
      • withCreateMode

        public DpmProtectedItem withCreateMode​(CreateMode createMode)
        Set the createMode property: Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
        Overrides:
        withCreateMode in class ProtectedItem
        Parameters:
        createMode - the createMode value to set.
        Returns:
        the ProtectedItem object itself.
      • withDeferredDeleteTimeInUtc

        public DpmProtectedItem withDeferredDeleteTimeInUtc​(OffsetDateTime deferredDeleteTimeInUtc)
        Set the deferredDeleteTimeInUtc property: Time for deferred deletion in UTC.
        Overrides:
        withDeferredDeleteTimeInUtc in class ProtectedItem
        Parameters:
        deferredDeleteTimeInUtc - the deferredDeleteTimeInUtc value to set.
        Returns:
        the ProtectedItem object itself.
      • withIsScheduledForDeferredDelete

        public DpmProtectedItem withIsScheduledForDeferredDelete​(Boolean isScheduledForDeferredDelete)
        Set the isScheduledForDeferredDelete property: Flag to identify whether the DS is scheduled for deferred delete.
        Overrides:
        withIsScheduledForDeferredDelete in class ProtectedItem
        Parameters:
        isScheduledForDeferredDelete - the isScheduledForDeferredDelete value to set.
        Returns:
        the ProtectedItem object itself.
      • withDeferredDeleteTimeRemaining

        public DpmProtectedItem withDeferredDeleteTimeRemaining​(String deferredDeleteTimeRemaining)
        Set the deferredDeleteTimeRemaining property: Time remaining before the DS marked for deferred delete is permanently deleted.
        Overrides:
        withDeferredDeleteTimeRemaining in class ProtectedItem
        Parameters:
        deferredDeleteTimeRemaining - the deferredDeleteTimeRemaining value to set.
        Returns:
        the ProtectedItem object itself.
      • withIsDeferredDeleteScheduleUpcoming

        public DpmProtectedItem withIsDeferredDeleteScheduleUpcoming​(Boolean isDeferredDeleteScheduleUpcoming)
        Set the isDeferredDeleteScheduleUpcoming property: Flag to identify whether the deferred deleted DS is to be purged soon.
        Overrides:
        withIsDeferredDeleteScheduleUpcoming in class ProtectedItem
        Parameters:
        isDeferredDeleteScheduleUpcoming - the isDeferredDeleteScheduleUpcoming value to set.
        Returns:
        the ProtectedItem object itself.
      • withIsRehydrate

        public DpmProtectedItem withIsRehydrate​(Boolean isRehydrate)
        Set the isRehydrate property: Flag to identify that deferred deleted DS is to be moved into Pause state.
        Overrides:
        withIsRehydrate in class ProtectedItem
        Parameters:
        isRehydrate - the isRehydrate value to set.
        Returns:
        the ProtectedItem object itself.
      • withResourceGuardOperationRequests

        public DpmProtectedItem withResourceGuardOperationRequests​(List<String> resourceGuardOperationRequests)
        Set the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.
        Overrides:
        withResourceGuardOperationRequests in class ProtectedItem
        Parameters:
        resourceGuardOperationRequests - the resourceGuardOperationRequests value to set.
        Returns:
        the ProtectedItem object itself.
      • withIsArchiveEnabled

        public DpmProtectedItem withIsArchiveEnabled​(Boolean isArchiveEnabled)
        Set the isArchiveEnabled property: Flag to identify whether datasource is protected in archive.
        Overrides:
        withIsArchiveEnabled in class ProtectedItem
        Parameters:
        isArchiveEnabled - the isArchiveEnabled value to set.
        Returns:
        the ProtectedItem object itself.
      • withPolicyName

        public DpmProtectedItem withPolicyName​(String policyName)
        Set the policyName property: Name of the policy used for protection.
        Overrides:
        withPolicyName in class ProtectedItem
        Parameters:
        policyName - the policyName value to set.
        Returns:
        the ProtectedItem object itself.