Class JobSubTask
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.JobSubTask
-
public final class JobSubTask extends Object
Details of Job's Sub Task.
-
-
Constructor Summary
Constructors Constructor Description JobSubTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
additionalDetails()
Get the additionalDetails property: Additional details of Sub Tasks.int
taskId()
Get the taskId property: Task Id of the Sub Task.String
taskName()
Get the taskName property: Name of the Sub Task.String
taskProgress()
Get the taskProgress property: Progress of the Sub Task.String
taskStatus()
Get the taskStatus property: Status of the Sub Task.void
validate()
Validates the instance.JobSubTask
withAdditionalDetails(Map<String,String> additionalDetails)
Set the additionalDetails property: Additional details of Sub Tasks.JobSubTask
withTaskId(int taskId)
Set the taskId property: Task Id of the Sub Task.JobSubTask
withTaskName(String taskName)
Set the taskName property: Name of the Sub Task.JobSubTask
withTaskStatus(String taskStatus)
Set the taskStatus property: Status of the Sub Task.
-
-
-
Method Detail
-
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.
-
-