public DescribeEnvironmentsRequest withEnvironmentIds(java.util.Collection<String> environmentIds) {
        setEnvironmentIds(environmentIds);
        return this;
    }
<p>
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
specified IDs.
</p>

@param environmentIds
       If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have
       the specified IDs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/DescribeEnvironmentsRequest.java