public WorkflowExecutionContinuedAsNewEventAttributes withTaskPriority(String taskPriority) {
        setTaskPriority(taskPriority);
        return this;
    }
<p>
The priority of the task to use for the decisions of the new (continued) workflow execution.
</p>

@param taskPriority
       The priority of the task to use for the decisions of the new (continued) 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/WorkflowExecutionContinuedAsNewEventAttributes.java