Class AzureIaaSvmJobTaskDetails
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureIaaSvmJobTaskDetails
-
public final class AzureIaaSvmJobTaskDetails extends Object
Azure IaaS VM workload-specific job task details.
-
-
Constructor Summary
Constructors Constructor Description AzureIaaSvmJobTaskDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
duration()
Get the duration property: Time elapsed for task.OffsetDateTime
endTime()
Get the endTime property: The end time.String
instanceId()
Get the instanceId property: The instanceId.Double
progressPercentage()
Get the progressPercentage property: Progress of the task.OffsetDateTime
startTime()
Get the startTime property: The start time.String
status()
Get the status property: The status.String
taskExecutionDetails()
Get the taskExecutionDetails property: Details about execution of the task.String
taskId()
Get the taskId property: The task display name.void
validate()
Validates the instance.AzureIaaSvmJobTaskDetails
withDuration(Duration duration)
Set the duration property: Time elapsed for task.AzureIaaSvmJobTaskDetails
withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time.AzureIaaSvmJobTaskDetails
withInstanceId(String instanceId)
Set the instanceId property: The instanceId.AzureIaaSvmJobTaskDetails
withProgressPercentage(Double progressPercentage)
Set the progressPercentage property: Progress of the task.AzureIaaSvmJobTaskDetails
withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time.AzureIaaSvmJobTaskDetails
withStatus(String status)
Set the status property: The status.AzureIaaSvmJobTaskDetails
withTaskExecutionDetails(String taskExecutionDetails)
Set the taskExecutionDetails property: Details about execution of the task.AzureIaaSvmJobTaskDetails
withTaskId(String taskId)
Set the taskId property: The task display name.
-
-
-
Method Detail
-
taskId
public String taskId()
Get the taskId property: The task display name.- Returns:
- the taskId value.
-
withTaskId
public AzureIaaSvmJobTaskDetails withTaskId(String taskId)
Set the taskId property: The task display name.- Parameters:
taskId
- the taskId value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time.- Returns:
- the startTime value.
-
withStartTime
public AzureIaaSvmJobTaskDetails withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time.- Returns:
- the endTime value.
-
withEndTime
public AzureIaaSvmJobTaskDetails withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
instanceId
public String instanceId()
Get the instanceId property: The instanceId.- Returns:
- the instanceId value.
-
withInstanceId
public AzureIaaSvmJobTaskDetails withInstanceId(String instanceId)
Set the instanceId property: The instanceId.- Parameters:
instanceId
- the instanceId value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
duration
public Duration duration()
Get the duration property: Time elapsed for task.- Returns:
- the duration value.
-
withDuration
public AzureIaaSvmJobTaskDetails withDuration(Duration duration)
Set the duration property: Time elapsed for task.- Parameters:
duration
- the duration value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
status
public String status()
Get the status property: The status.- Returns:
- the status value.
-
withStatus
public AzureIaaSvmJobTaskDetails withStatus(String status)
Set the status property: The status.- Parameters:
status
- the status value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
progressPercentage
public Double progressPercentage()
Get the progressPercentage property: Progress of the task.- Returns:
- the progressPercentage value.
-
withProgressPercentage
public AzureIaaSvmJobTaskDetails withProgressPercentage(Double progressPercentage)
Set the progressPercentage property: Progress of the task.- Parameters:
progressPercentage
- the progressPercentage value to set.- Returns:
- the AzureIaaSvmJobTaskDetails object itself.
-
taskExecutionDetails
public String taskExecutionDetails()
Get the taskExecutionDetails property: Details about execution of the task. eg: number of bytes transferred etc.- Returns:
- the taskExecutionDetails value.
-
withTaskExecutionDetails
public AzureIaaSvmJobTaskDetails withTaskExecutionDetails(String taskExecutionDetails)
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.
-
-