public RespondDecisionTaskCompletedRequest withTaskToken(String taskToken) {
        setTaskToken(taskToken);
        return this;
    }
<p>
The <code>taskToken</code> from the <a>DecisionTask</a>.
</p>
<important>
<p>
<code>taskToken</code> is generated by the service and should be treated as an opaque value. If the task is
passed to another process, its <code>taskToken</code> must also be passed. This enables it to provide its
progress and respond with results.
</p>
</important>

@param taskToken
       The <code>taskToken</code> from the <a>DecisionTask</a>.</p> <important>
       <p>
       <code>taskToken</code> is generated by the service and should be treated as an opaque value. If the task
       is passed to another process, its <code>taskToken</code> must also be passed. This enables it to provide
       its progress and respond with results.
       </p>
@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/RespondDecisionTaskCompletedRequest.java