Interface CalculationStatus.Builder

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

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

    • submissionDateTime

      CalculationStatus.Builder submissionDateTime(Instant submissionDateTime)

      The date and time the calculation was submitted for processing.

      Parameters:
      submissionDateTime - The date and time the calculation was submitted for processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completionDateTime

      CalculationStatus.Builder completionDateTime(Instant completionDateTime)

      The date and time the calculation completed processing.

      Parameters:
      completionDateTime - The date and time the calculation completed processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the calculation execution. A description of each state follows.

      CREATING - The calculation is in the process of being created.

      CREATED - The calculation has been created and is ready to run.

      QUEUED - The calculation has been queued for processing.

      RUNNING - The calculation is running.

      CANCELING - A request to cancel the calculation has been received and the system is working to stop it.

      CANCELED - The calculation is no longer running as the result of a cancel request.

      COMPLETED - The calculation has completed without error.

      FAILED - The calculation failed and is no longer running.

      Parameters:
      state - The state of the calculation execution. A description of each state follows.

      CREATING - The calculation is in the process of being created.

      CREATED - The calculation has been created and is ready to run.

      QUEUED - The calculation has been queued for processing.

      RUNNING - The calculation is running.

      CANCELING - A request to cancel the calculation has been received and the system is working to stop it.

      CANCELED - The calculation is no longer running as the result of a cancel request.

      COMPLETED - The calculation has completed without error.

      FAILED - The calculation failed and is no longer running.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the calculation execution. A description of each state follows.

      CREATING - The calculation is in the process of being created.

      CREATED - The calculation has been created and is ready to run.

      QUEUED - The calculation has been queued for processing.

      RUNNING - The calculation is running.

      CANCELING - A request to cancel the calculation has been received and the system is working to stop it.

      CANCELED - The calculation is no longer running as the result of a cancel request.

      COMPLETED - The calculation has completed without error.

      FAILED - The calculation failed and is no longer running.

      Parameters:
      state - The state of the calculation execution. A description of each state follows.

      CREATING - The calculation is in the process of being created.

      CREATED - The calculation has been created and is ready to run.

      QUEUED - The calculation has been queued for processing.

      RUNNING - The calculation is running.

      CANCELING - A request to cancel the calculation has been received and the system is working to stop it.

      CANCELED - The calculation is no longer running as the result of a cancel request.

      COMPLETED - The calculation has completed without error.

      FAILED - The calculation failed and is no longer running.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateChangeReason

      CalculationStatus.Builder stateChangeReason(String stateChangeReason)

      The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).

      Parameters:
      stateChangeReason - The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
      Returns:
      Returns a reference to this object so that method calls can be chained together.