Class AzureIaaSvmJobTaskDetails


  • public final class AzureIaaSvmJobTaskDetails
    extends Object
    Azure IaaS VM workload-specific job task details.
    • Constructor Detail

      • AzureIaaSvmJobTaskDetails

        public AzureIaaSvmJobTaskDetails()
    • 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.