public ListAppInstancesResult withAppInstances(AppInstanceSummary... appInstances) {
        if (this.appInstances == null) {
            setAppInstances(new java.util.ArrayList<AppInstanceSummary>(appInstances.length));
        }
        for (AppInstanceSummary ele : appInstances) {
            this.appInstances.add(ele);
        }
        return this;
    }
<p>
The information for each <code>AppInstance</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAppInstances(java.util.Collection)} or {@link #withAppInstances(java.util.Collection)} if you want to
override the existing values.
</p>

@param appInstances
       The information for each <code>AppInstance</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/ListAppInstancesResult.java