public DescribeJobDefinitionsResult withJobDefinitions(JobDefinition... jobDefinitions) {
        if (this.jobDefinitions == null) {
            setJobDefinitions(new java.util.ArrayList<JobDefinition>(jobDefinitions.length));
        }
        for (JobDefinition ele : jobDefinitions) {
            this.jobDefinitions.add(ele);
        }
        return this;
    }
<p>
The list of job definitions.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setJobDefinitions(java.util.Collection)} or {@link #withJobDefinitions(java.util.Collection)} if you want
to override the existing values.
</p>

@param jobDefinitions
       The list of job definitions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/DescribeJobDefinitionsResult.java