Class JobSubTask
java.lang.Object
com.azure.resourcemanager.dataprotection.models.JobSubTask
Details of Job's Sub Task.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalDetails property: Additional details of Sub Tasks.int
taskId()
Get the taskId property: Task Id of the Sub Task.taskName()
Get the taskName property: Name of the Sub Task.Get the taskProgress property: Progress of the Sub Task.Get the taskStatus property: Status of the Sub Task.void
validate()
Validates the instance.withAdditionalDetails
(Map<String, String> additionalDetails) Set the additionalDetails property: Additional details of Sub Tasks.withTaskId
(int taskId) Set the taskId property: Task Id of the Sub Task.withTaskName
(String taskName) Set the taskName property: Name of the Sub Task.withTaskStatus
(String taskStatus) Set the taskStatus property: Status of the Sub Task.
-
Constructor Details
-
JobSubTask
public JobSubTask()Creates an instance of JobSubTask class.
-
-
Method Details
-
additionalDetails
Get the additionalDetails property: Additional details of Sub Tasks.- Returns:
- the additionalDetails value.
-
withAdditionalDetails
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
Set the taskId property: Task Id of the Sub Task.- Parameters:
taskId
- the taskId value to set.- Returns:
- the JobSubTask object itself.
-
taskName
Get the taskName property: Name of the Sub Task.- Returns:
- the taskName value.
-
withTaskName
Set the taskName property: Name of the Sub Task.- Parameters:
taskName
- the taskName value to set.- Returns:
- the JobSubTask object itself.
-
taskProgress
Get the taskProgress property: Progress of the Sub Task.- Returns:
- the taskProgress value.
-
taskStatus
Get the taskStatus property: Status of the Sub Task.- Returns:
- the taskStatus value.
-
withTaskStatus
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.
-