java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.MabJobTaskDetails

public final class MabJobTaskDetails extends Object
MAB workload-specific job task details.
  • Constructor Details

    • MabJobTaskDetails

      public MabJobTaskDetails()
      Creates an instance of MabJobTaskDetails class.
  • Method Details

    • taskId

      public String taskId()
      Get the taskId property: The task display name.
      Returns:
      the taskId value.
    • withTaskId

      public MabJobTaskDetails withTaskId(String taskId)
      Set the taskId property: The task display name.
      Parameters:
      taskId - the taskId value to set.
      Returns:
      the MabJobTaskDetails object itself.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: The start time.
      Returns:
      the startTime value.
    • withStartTime

      public MabJobTaskDetails withStartTime(OffsetDateTime startTime)
      Set the startTime property: The start time.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the MabJobTaskDetails object itself.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: The end time.
      Returns:
      the endTime value.
    • withEndTime

      public MabJobTaskDetails withEndTime(OffsetDateTime endTime)
      Set the endTime property: The end time.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the MabJobTaskDetails object itself.
    • duration

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

      public MabJobTaskDetails withDuration(Duration duration)
      Set the duration property: Time elapsed for task.
      Parameters:
      duration - the duration value to set.
      Returns:
      the MabJobTaskDetails object itself.
    • status

      public String status()
      Get the status property: The status.
      Returns:
      the status value.
    • withStatus

      public MabJobTaskDetails withStatus(String status)
      Set the status property: The status.
      Parameters:
      status - the status value to set.
      Returns:
      the MabJobTaskDetails object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.