public WorkflowExecutionInfo withCancelRequested(Boolean cancelRequested) {
        setCancelRequested(cancelRequested);
        return this;
    }
<p>
Set to true if a cancellation is requested for this workflow execution.
</p>

@param cancelRequested
       Set to true if a cancellation is requested for this workflow execution.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/WorkflowExecutionInfo.java