public DescribeEnvironmentsResult withEnvironments(Environment... environments) {
        if (this.environments == null) {
            setEnvironments(new java.util.ArrayList<Environment>(environments.length));
        }
        for (Environment ele : environments) {
            this.environments.add(ele);
        }
        return this;
    }
<p>
Information about the environments that are returned.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEnvironments(java.util.Collection)} or {@link #withEnvironments(java.util.Collection)} if you want to
override the existing values.
</p>

@param environments
       Information about the environments that are returned.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloud9/src/main/java/com/amazonaws/services/cloud9/model/DescribeEnvironmentsResult.java