java.lang.Object
com.azure.resourcemanager.dataprotection.models.JobSubTask

public final class JobSubTask extends Object
Details of Job's Sub Task.
  • Constructor Details

    • JobSubTask

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

    • additionalDetails

      public Map<String,String> additionalDetails()
      Get the additionalDetails property: Additional details of Sub Tasks.
      Returns:
      the additionalDetails value.
    • withAdditionalDetails

      public JobSubTask withAdditionalDetails(Map<String,String> additionalDetails)
      Set the additionalDetails property: Additional details of Sub Tasks.
      Parameters:
      additionalDetails - the additionalDetails value to set.
      Returns:
      the JobSubTask object itself.
    • taskId

      public int taskId()
      Get the taskId property: Task Id of the Sub Task.
      Returns:
      the taskId value.
    • withTaskId

      public JobSubTask withTaskId(int taskId)
      Set the taskId property: Task Id of the Sub Task.
      Parameters:
      taskId - the taskId value to set.
      Returns:
      the JobSubTask object itself.
    • taskName

      public String taskName()
      Get the taskName property: Name of the Sub Task.
      Returns:
      the taskName value.
    • withTaskName

      public JobSubTask withTaskName(String taskName)
      Set the taskName property: Name of the Sub Task.
      Parameters:
      taskName - the taskName value to set.
      Returns:
      the JobSubTask object itself.
    • taskProgress

      public String taskProgress()
      Get the taskProgress property: Progress of the Sub Task.
      Returns:
      the taskProgress value.
    • taskStatus

      public String taskStatus()
      Get the taskStatus property: Status of the Sub Task.
      Returns:
      the taskStatus value.
    • withTaskStatus

      public JobSubTask withTaskStatus(String taskStatus)
      Set the taskStatus property: Status of the Sub Task.
      Parameters:
      taskStatus - the taskStatus value to set.
      Returns:
      the JobSubTask object itself.
    • validate

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