public ListApplicationsResult withApplications(ApplicationSummary... applications) {
        if (this.applications == null) {
            setApplications(new java.util.ArrayList<ApplicationSummary>(applications.length));
        }
        for (ApplicationSummary ele : applications) {
            this.applications.add(ele);
        }
        return this;
    }
<p>
The output lists the specified applications.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setApplications(java.util.Collection)} or {@link #withApplications(java.util.Collection)} if you want to
override the existing values.
</p>

@param applications
       The output lists the specified applications.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/model/ListApplicationsResult.java