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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CalculationStatus.BuildercompletionDateTime(Instant completionDateTime)The date and time the calculation completed processing.CalculationStatus.Builderstate(String state)The state of the calculation execution.CalculationStatus.Builderstate(CalculationExecutionState state)The state of the calculation execution.CalculationStatus.BuilderstateChangeReason(String stateChangeReason)The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).CalculationStatus.BuildersubmissionDateTime(Instant submissionDateTime)The date and time the calculation was submitted for processing.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
CalculationStatus.Builder state(String 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:
CalculationExecutionState,CalculationExecutionState
-
state
CalculationStatus.Builder state(CalculationExecutionState 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:
CalculationExecutionState,CalculationExecutionState
-
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.
-
-