Class DpmJobTaskDetails


  • public final class DpmJobTaskDetails
    extends Object
    DPM workload-specific job task details.
    • Constructor Detail

      • DpmJobTaskDetails

        public DpmJobTaskDetails()
    • Method Detail

      • taskId

        public String taskId()
        Get the taskId property: The task display name.
        Returns:
        the taskId value.
      • withTaskId

        public DpmJobTaskDetails withTaskId​(String taskId)
        Set the taskId property: The task display name.
        Parameters:
        taskId - the taskId value to set.
        Returns:
        the DpmJobTaskDetails object itself.
      • startTime

        public OffsetDateTime startTime()
        Get the startTime property: The start time.
        Returns:
        the startTime value.
      • withStartTime

        public DpmJobTaskDetails withStartTime​(OffsetDateTime startTime)
        Set the startTime property: The start time.
        Parameters:
        startTime - the startTime value to set.
        Returns:
        the DpmJobTaskDetails object itself.
      • endTime

        public OffsetDateTime endTime()
        Get the endTime property: The end time.
        Returns:
        the endTime value.
      • withEndTime

        public DpmJobTaskDetails withEndTime​(OffsetDateTime endTime)
        Set the endTime property: The end time.
        Parameters:
        endTime - the endTime value to set.
        Returns:
        the DpmJobTaskDetails object itself.
      • duration

        public Duration duration()
        Get the duration property: Time elapsed for task.
        Returns:
        the duration value.
      • withDuration

        public DpmJobTaskDetails withDuration​(Duration duration)
        Set the duration property: Time elapsed for task.
        Parameters:
        duration - the duration value to set.
        Returns:
        the DpmJobTaskDetails object itself.
      • status

        public String status()
        Get the status property: The status.
        Returns:
        the status value.
      • withStatus

        public DpmJobTaskDetails withStatus​(String status)
        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.