Class AzureIaaSvmJob


  • public final class AzureIaaSvmJob
    extends Job
    Azure IaaS VM workload-specific job object.
    • Constructor Detail

      • AzureIaaSvmJob

        public AzureIaaSvmJob()
    • Method Detail

      • duration

        public Duration duration()
        Get the duration property: Time elapsed during the execution of this job.
        Returns:
        the duration value.
      • withDuration

        public AzureIaaSvmJob withDuration​(Duration duration)
        Set the duration property: Time elapsed during the execution of this job.
        Parameters:
        duration - the duration value to set.
        Returns:
        the AzureIaaSvmJob object itself.
      • actionsInfo

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

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

        public List<AzureIaaSvmErrorInfo> errorDetails()
        Get the errorDetails property: Error details on execution of this job.
        Returns:
        the errorDetails value.
      • withErrorDetails

        public AzureIaaSvmJob withErrorDetails​(List<AzureIaaSvmErrorInfo> errorDetails)
        Set the errorDetails property: Error details on execution of this job.
        Parameters:
        errorDetails - the errorDetails value to set.
        Returns:
        the AzureIaaSvmJob object itself.
      • virtualMachineVersion

        public String virtualMachineVersion()
        Get the virtualMachineVersion property: Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
        Returns:
        the virtualMachineVersion value.
      • withVirtualMachineVersion

        public AzureIaaSvmJob withVirtualMachineVersion​(String virtualMachineVersion)
        Set the virtualMachineVersion property: Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
        Parameters:
        virtualMachineVersion - the virtualMachineVersion value to set.
        Returns:
        the AzureIaaSvmJob object itself.
      • extendedInfo

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

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

        public String containerName()
        Get the containerName property: Container name of the entity on which the current job is executing.
        Returns:
        the containerName value.
      • withContainerName

        public AzureIaaSvmJob withContainerName​(String containerName)
        Set the containerName property: Container name of the entity on which the current job is executing.
        Parameters:
        containerName - the containerName value to set.
        Returns:
        the AzureIaaSvmJob object itself.
      • isUserTriggered

        public Boolean isUserTriggered()
        Get the isUserTriggered property: Indicated that whether the job is adhoc(true) or scheduled(false).
        Returns:
        the isUserTriggered value.
      • withIsUserTriggered

        public AzureIaaSvmJob withIsUserTriggered​(Boolean isUserTriggered)
        Set the isUserTriggered property: Indicated that whether the job is adhoc(true) or scheduled(false).
        Parameters:
        isUserTriggered - the isUserTriggered value to set.
        Returns:
        the AzureIaaSvmJob object itself.
      • withEntityFriendlyName

        public AzureIaaSvmJob 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 AzureIaaSvmJob 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 AzureIaaSvmJob 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 AzureIaaSvmJob 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 AzureIaaSvmJob 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 AzureIaaSvmJob 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 AzureIaaSvmJob 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.