Interface JobExecutionState.Builder

All Superinterfaces:
Buildable, CopyableBuilder<JobExecutionState.Builder,JobExecutionState>, SdkBuilder<JobExecutionState.Builder,JobExecutionState>, SdkPojo
Enclosing class:
JobExecutionState

public static interface JobExecutionState.Builder extends SdkPojo, CopyableBuilder<JobExecutionState.Builder,JobExecutionState>
  • Method Details

    • 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:
    • 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:
    • 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.