Class ActivityTaskStatus
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.ActivityTaskStatus
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ActivityTaskStatus extends Object implements Serializable, Cloneable
Status information about an activity task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityTaskStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityTaskStatusclone()booleanequals(Object obj)BooleangetCancelRequested()Set totrueif cancellation of the task is requested.inthashCode()BooleanisCancelRequested()Set totrueif cancellation of the task is requested.voidsetCancelRequested(Boolean cancelRequested)Set totrueif cancellation of the task is requested.StringtoString()Returns a string representation of this object; useful for testing and debugging.ActivityTaskStatuswithCancelRequested(Boolean cancelRequested)Set totrueif cancellation of the task is requested.
-
-
-
Method Detail
-
setCancelRequested
public void setCancelRequested(Boolean cancelRequested)
Set to
trueif cancellation of the task is requested.- Parameters:
cancelRequested- Set totrueif cancellation of the task is requested.
-
getCancelRequested
public Boolean getCancelRequested()
Set to
trueif cancellation of the task is requested.- Returns:
- Set to
trueif cancellation of the task is requested.
-
withCancelRequested
public ActivityTaskStatus withCancelRequested(Boolean cancelRequested)
Set to
trueif cancellation of the task is requested.- Parameters:
cancelRequested- Set totrueif cancellation of the task is requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCancelRequested
public Boolean isCancelRequested()
Set to
trueif cancellation of the task is requested.- Returns:
- Set to
trueif cancellation of the task is requested.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActivityTaskStatus clone()
-
-