Class DpmJob


  • public final class DpmJob
    extends Job
    DPM workload-specific job object.
    • Constructor Detail

      • DpmJob

        public DpmJob()
    • Method Detail

      • duration

        public Duration duration()
        Get the duration property: Time elapsed for job.
        Returns:
        the duration value.
      • withDuration

        public DpmJob withDuration​(Duration duration)
        Set the duration property: Time elapsed for job.
        Parameters:
        duration - the duration value to set.
        Returns:
        the DpmJob object itself.
      • dpmServerName

        public String dpmServerName()
        Get the dpmServerName property: DPM server name managing the backup item or backup job.
        Returns:
        the dpmServerName value.
      • withDpmServerName

        public DpmJob withDpmServerName​(String dpmServerName)
        Set the dpmServerName property: DPM server name managing the backup item or backup job.
        Parameters:
        dpmServerName - the dpmServerName value to set.
        Returns:
        the DpmJob object itself.
      • containerName

        public String containerName()
        Get the containerName property: Name of cluster/server protecting current backup item, if any.
        Returns:
        the containerName value.
      • withContainerName

        public DpmJob withContainerName​(String containerName)
        Set the containerName property: Name of cluster/server protecting current backup item, if any.
        Parameters:
        containerName - the containerName value to set.
        Returns:
        the DpmJob object itself.
      • containerType

        public String containerType()
        Get the containerType property: Type of container.
        Returns:
        the containerType value.
      • withContainerType

        public DpmJob withContainerType​(String containerType)
        Set the containerType property: Type of container.
        Parameters:
        containerType - the containerType value to set.
        Returns:
        the DpmJob object itself.
      • workloadType

        public String workloadType()
        Get the workloadType property: Type of backup item.
        Returns:
        the workloadType value.
      • withWorkloadType

        public DpmJob withWorkloadType​(String workloadType)
        Set the workloadType property: Type of backup item.
        Parameters:
        workloadType - the workloadType value to set.
        Returns:
        the DpmJob object itself.
      • actionsInfo

        public List<JobSupportedAction> actionsInfo()
        Get the actionsInfo property: The state/actions applicable on this job like cancel/retry.
        Returns:
        the actionsInfo value.
      • withActionsInfo

        public DpmJob withActionsInfo​(List<JobSupportedAction> actionsInfo)
        Set the actionsInfo property: The state/actions applicable on this job like cancel/retry.
        Parameters:
        actionsInfo - the actionsInfo value to set.
        Returns:
        the DpmJob object itself.
      • errorDetails

        public List<DpmErrorInfo> errorDetails()
        Get the errorDetails property: The errors.
        Returns:
        the errorDetails value.
      • withErrorDetails

        public DpmJob withErrorDetails​(List<DpmErrorInfo> errorDetails)
        Set the errorDetails property: The errors.
        Parameters:
        errorDetails - the errorDetails value to set.
        Returns:
        the DpmJob object itself.
      • extendedInfo

        public DpmJobExtendedInfo extendedInfo()
        Get the extendedInfo property: Additional information for this job.
        Returns:
        the extendedInfo value.
      • withExtendedInfo

        public DpmJob withExtendedInfo​(DpmJobExtendedInfo extendedInfo)
        Set the extendedInfo property: Additional information for this job.
        Parameters:
        extendedInfo - the extendedInfo value to set.
        Returns:
        the DpmJob object itself.
      • withEntityFriendlyName

        public DpmJob withEntityFriendlyName​(String entityFriendlyName)
        Set the entityFriendlyName property: Friendly name of the entity on which the current job is executing.
        Overrides:
        withEntityFriendlyName in class Job
        Parameters:
        entityFriendlyName - the entityFriendlyName value to set.
        Returns:
        the Job object itself.
      • withBackupManagementType

        public DpmJob withBackupManagementType​(BackupManagementType backupManagementType)
        Set the backupManagementType property: Backup management type to execute the current job.
        Overrides:
        withBackupManagementType in class Job
        Parameters:
        backupManagementType - the backupManagementType value to set.
        Returns:
        the Job object itself.
      • withOperation

        public DpmJob withOperation​(String operation)
        Set the operation property: The operation name.
        Overrides:
        withOperation in class Job
        Parameters:
        operation - the operation value to set.
        Returns:
        the Job object itself.
      • withStatus

        public DpmJob withStatus​(String status)
        Set the status property: Job status.
        Overrides:
        withStatus in class Job
        Parameters:
        status - the status value to set.
        Returns:
        the Job object itself.
      • withStartTime

        public DpmJob withStartTime​(OffsetDateTime startTime)
        Set the startTime property: The start time.
        Overrides:
        withStartTime in class Job
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the Job object itself.
      • withEndTime

        public DpmJob withEndTime​(OffsetDateTime endTime)
        Set the endTime property: The end time.
        Overrides:
        withEndTime in class Job
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the Job object itself.
      • withActivityId

        public DpmJob withActivityId​(String activityId)
        Set the activityId property: ActivityId of job.
        Overrides:
        withActivityId in class Job
        Parameters:
        activityId - the activityId value to set.
        Returns:
        the Job object itself.