@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CalculationStatus extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the status of a notebook calculation.
Constructor and Description |
---|
CalculationStatus() |
Modifier and Type | Method and Description |
---|---|
CalculationStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletionDateTime()
The date and time the calculation completed processing.
|
String |
getState()
The state of the calculation execution.
|
String |
getStateChangeReason()
The reason for the calculation state change (for example, the calculation was canceled because the session was
terminated).
|
Date |
getSubmissionDateTime()
The date and time the calculation was submitted for processing.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompletionDateTime(Date completionDateTime)
The date and time the calculation completed processing.
|
void |
setState(String state)
The state of the calculation execution.
|
void |
setStateChangeReason(String stateChangeReason)
The reason for the calculation state change (for example, the calculation was canceled because the session was
terminated).
|
void |
setSubmissionDateTime(Date submissionDateTime)
The date and time the calculation was submitted for processing.
|
String |
toString()
Returns a string representation of this object.
|
CalculationStatus |
withCompletionDateTime(Date completionDateTime)
The date and time the calculation completed processing.
|
CalculationStatus |
withState(CalculationExecutionState state)
The state of the calculation execution.
|
CalculationStatus |
withState(String state)
The state of the calculation execution.
|
CalculationStatus |
withStateChangeReason(String stateChangeReason)
The reason for the calculation state change (for example, the calculation was canceled because the session was
terminated).
|
CalculationStatus |
withSubmissionDateTime(Date submissionDateTime)
The date and time the calculation was submitted for processing.
|
public void setSubmissionDateTime(Date submissionDateTime)
The date and time the calculation was submitted for processing.
submissionDateTime
- The date and time the calculation was submitted for processing.public Date getSubmissionDateTime()
The date and time the calculation was submitted for processing.
public CalculationStatus withSubmissionDateTime(Date submissionDateTime)
The date and time the calculation was submitted for processing.
submissionDateTime
- The date and time the calculation was submitted for processing.public void setCompletionDateTime(Date completionDateTime)
The date and time the calculation completed processing.
completionDateTime
- The date and time the calculation completed processing.public Date getCompletionDateTime()
The date and time the calculation completed processing.
public CalculationStatus withCompletionDateTime(Date completionDateTime)
The date and time the calculation completed processing.
completionDateTime
- The date and time the calculation completed processing.public void setState(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.
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.
CalculationExecutionState
public String getState()
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.
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.
CalculationExecutionState
public CalculationStatus withState(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.
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.
CalculationExecutionState
public CalculationStatus withState(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.
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.
CalculationExecutionState
public void setStateChangeReason(String stateChangeReason)
The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
stateChangeReason
- The reason for the calculation state change (for example, the calculation was canceled because the session
was terminated).public String getStateChangeReason()
The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
public CalculationStatus withStateChangeReason(String stateChangeReason)
The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
stateChangeReason
- The reason for the calculation state change (for example, the calculation was canceled because the session
was terminated).public String toString()
toString
in class Object
Object.toString()
public CalculationStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.