Interface JobExecutionSummary.Builder

    • Method Detail

      • queuedAt

        JobExecutionSummary.Builder queuedAt​(Instant queuedAt)

        The time, in seconds since the epoch, when the job execution was queued.

        Parameters:
        queuedAt - The time, in seconds since the epoch, when the job execution was queued.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startedAt

        JobExecutionSummary.Builder startedAt​(Instant startedAt)

        The time, in seconds since the epoch, when the job execution started.

        Parameters:
        startedAt - The time, in seconds since the epoch, when the job execution started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedAt

        JobExecutionSummary.Builder lastUpdatedAt​(Instant lastUpdatedAt)

        The time, in seconds since the epoch, when the job execution was last updated.

        Parameters:
        lastUpdatedAt - The time, in seconds since the epoch, when the job execution was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionNumber

        JobExecutionSummary.Builder executionNumber​(Long executionNumber)

        A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.

        Parameters:
        executionNumber - A string (consisting of the digits "0" through "9") which identifies this particular job execution on this particular device. It can be used later in commands which return or update job execution information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retryAttempt

        JobExecutionSummary.Builder retryAttempt​(Integer retryAttempt)

        The number that indicates how many retry attempts have been completed for this job on this device.

        Parameters:
        retryAttempt - The number that indicates how many retry attempts have been completed for this job on this device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.