public ActivityTaskCompletedEventAttributes withResult(String result) {
        setResult(result);
        return this;
    }
<p>
The results of the activity task.
</p>

@param result
       The results of the activity task.
@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/ActivityTaskCompletedEventAttributes.java