public UpdateWorkflowStepRequest withNext(String... next) {
        if (this.next == null) {
            setNext(new java.util.ArrayList<String>(next.length));
        }
        for (String ele : next) {
            this.next.add(ele);
        }
        return this;
    }
<p>
The next step.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNext(java.util.Collection)} or {@link #withNext(java.util.Collection)} if you want to override the
existing values.
</p>

@param next
       The next step.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhuborchestrator/src/main/java/com/amazonaws/services/migrationhuborchestrator/model/UpdateWorkflowStepRequest.java