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

@param previous
       The previous 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