Class AzureIaaSvmJobTaskDetails
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.AzureIaaSvmJobTaskDetails
Azure IaaS VM workload-specific job task details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureIaaSvmJobTaskDetails class. -
Method Summary
Modifier and TypeMethodDescriptionduration()
Get the duration property: Time elapsed for task.endTime()
Get the endTime property: The end time.Get the instanceId property: The instanceId.Get the progressPercentage property: Progress of the task.Get the startTime property: The start time.status()
Get the status property: The status.Get the taskExecutionDetails property: Details about execution of the task.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.withInstanceId
(String instanceId) Set the instanceId property: The instanceId.withProgressPercentage
(Double progressPercentage) Set the progressPercentage property: Progress of the task.withStartTime
(OffsetDateTime startTime) Set the startTime property: The start time.withStatus
(String status) Set the status property: The status.withTaskExecutionDetails
(String taskExecutionDetails) Set the taskExecutionDetails property: Details about execution of the task.withTaskId
(String taskId) Set the taskId property: The task display name.
-
Constructor Details
-
AzureIaaSvmJobTaskDetails
public AzureIaaSvmJobTaskDetails()Creates an instance of AzureIaaSvmJobTaskDetails 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 AzureIaaSvmJobTaskDetails 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 AzureIaaSvmJobTaskDetails 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 AzureIaaSvmJobTaskDetails object itself.
-
instanceId
Get the instanceId property: The instanceId.- Returns:
- the instanceId value.
-
withInstanceId
Set the instanceId property: The instanceId.- Parameters:
instanceId
- the instanceId value to set.- Returns:
- the AzureIaaSvmJobTaskDetails 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 AzureIaaSvmJobTaskDetails 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 AzureIaaSvmJobTaskDetails object itself.
-
progressPercentage
Get the progressPercentage property: Progress of the task.- Returns:
- the progressPercentage value.
-
withProgressPercentage
Set the progressPercentage property: Progress of the task.- Parameters:
progressPercentage
- the progressPercentage value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
taskExecutionDetails
Get the taskExecutionDetails property: Details about execution of the task. eg: number of bytes transferred etc.- Returns:
- the taskExecutionDetails value.
-
withTaskExecutionDetails
Set the taskExecutionDetails property: Details about execution of the task. eg: number of bytes transferred etc.- Parameters:
taskExecutionDetails
- the taskExecutionDetails value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-