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

@param environmentNames
       If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have
       the specified names.
@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