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 ActivityTaskStatus
clone()
boolean
equals(Object obj)
Boolean
getCancelRequested()
Set totrue
if cancellation of the task is requested.int
hashCode()
Boolean
isCancelRequested()
Set totrue
if cancellation of the task is requested.void
setCancelRequested(Boolean cancelRequested)
Set totrue
if cancellation of the task is requested.String
toString()
Returns a string representation of this object; useful for testing and debugging.ActivityTaskStatus
withCancelRequested(Boolean cancelRequested)
Set totrue
if cancellation of the task is requested.
-
-
-
Method Detail
-
setCancelRequested
public void setCancelRequested(Boolean cancelRequested)
Set to
true
if cancellation of the task is requested.- Parameters:
cancelRequested
- Set totrue
if cancellation of the task is requested.
-
getCancelRequested
public Boolean getCancelRequested()
Set to
true
if cancellation of the task is requested.- Returns:
- Set to
true
if cancellation of the task is requested.
-
withCancelRequested
public ActivityTaskStatus withCancelRequested(Boolean cancelRequested)
Set to
true
if cancellation of the task is requested.- Parameters:
cancelRequested
- Set totrue
if 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
true
if cancellation of the task is requested.- Returns:
- Set to
true
if cancellation of the task is requested.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActivityTaskStatus clone()
-
-