Class DpmJobTaskDetails
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.DpmJobTaskDetails
DPM workload-specific job task details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionduration()
Get the duration property: Time elapsed for task.endTime()
Get the endTime property: The end time.Get the startTime property: The start time.status()
Get the status property: The status.taskId()
Get the taskId property: The task display name.void
validate()
Validates the instance.withDuration
(Duration duration) Set the duration property: Time elapsed for task.withEndTime
(OffsetDateTime endTime) Set the endTime property: The end time.withStartTime
(OffsetDateTime startTime) Set the startTime property: The start time.withStatus
(String status) Set the status property: The status.withTaskId
(String taskId) Set the taskId property: The task display name.
-
Constructor Details
-
DpmJobTaskDetails
public DpmJobTaskDetails()Creates an instance of DpmJobTaskDetails class.
-
-
Method Details
-
taskId
Get the taskId property: The task display name.- Returns:
- the taskId value.
-
withTaskId
Set the taskId property: The task display name.- Parameters:
taskId
- the taskId value to set.- Returns:
- the DpmJobTaskDetails object itself.
-
startTime
Get the startTime property: The start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the DpmJobTaskDetails object itself.
-
endTime
Get the endTime property: The end time.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The end time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the DpmJobTaskDetails object itself.
-
duration
Get the duration property: Time elapsed for task.- Returns:
- the duration value.
-
withDuration
Set the duration property: Time elapsed for task.- Parameters:
duration
- the duration value to set.- Returns:
- the DpmJobTaskDetails object itself.
-
status
Get the status property: The status.- Returns:
- the status value.
-
withStatus
Set the status property: The status.- Parameters:
status
- the status value to set.- Returns:
- the DpmJobTaskDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-