public JobRun withPredecessorRuns(Predecessor... predecessorRuns) {
        if (this.predecessorRuns == null) {
            setPredecessorRuns(new java.util.ArrayList<Predecessor>(predecessorRuns.length));
        }
        for (Predecessor ele : predecessorRuns) {
            this.predecessorRuns.add(ele);
        }
        return this;
    }
<p>
A list of predecessors to this job run.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPredecessorRuns(java.util.Collection)} or {@link #withPredecessorRuns(java.util.Collection)} if you
want to override the existing values.
</p>

@param predecessorRuns
       A list of predecessors to this job run.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/JobRun.java