Interface JobExecutionState.Builder

    • Method Detail

      • status

        JobExecutionState.Builder status​(String status)

        The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

        Parameters:
        status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobExecutionStatus, JobExecutionStatus
      • status

        JobExecutionState.Builder status​(JobExecutionStatus status)

        The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".

        Parameters:
        status - The status of the job execution. Can be one of: "QUEUED", "IN_PROGRESS", "FAILED", "SUCCESS", "CANCELED", "REJECTED", or "REMOVED".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobExecutionStatus, JobExecutionStatus
      • statusDetails

        JobExecutionState.Builder statusDetails​(Map<String,​String> statusDetails)

        A collection of name/value pairs that describe the status of the job execution.

        Parameters:
        statusDetails - A collection of name/value pairs that describe the status of the job execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionNumber

        JobExecutionState.Builder versionNumber​(Long versionNumber)

        The version of the job execution. Job execution versions are incremented each time they are updated by a device.

        Parameters:
        versionNumber - The version of the job execution. Job execution versions are incremented each time they are updated by a device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.