public ContinueAsNewWorkflowExecutionDecisionAttributes withTaskPriority(String taskPriority) {
        setTaskPriority(taskPriority);
        return this;
    }
<p>
The task priority that, if set, specifies the priority for the decision tasks for this workflow execution. This
overrides the defaultTaskPriority specified when registering the workflow type. Valid values are integers that
range from Java's <code>Integer.MIN_VALUE</code> (-2147483648) to <code>Integer.MAX_VALUE</code> (2147483647).
Higher numbers indicate higher priority.
</p>
<p>
For more information about setting task priority, see <a
href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html">Setting Task
Priority</a> in the <i>Amazon SWF Developer Guide</i>.
</p>

@param taskPriority
       The task priority that, if set, specifies the priority for the decision tasks for this workflow execution.
       This overrides the defaultTaskPriority specified when registering the workflow type. Valid values are
       integers that range from Java's <code>Integer.MIN_VALUE</code> (-2147483648) to
       <code>Integer.MAX_VALUE</code> (2147483647). Higher numbers indicate higher priority.</p>
       <p>
       For more information about setting task priority, see <a
       href="https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html">Setting Task
       Priority</a> in the <i>Amazon SWF Developer Guide</i>.
@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/ContinueAsNewWorkflowExecutionDecisionAttributes.java