public void setEnvironmentNames(java.util.Collection<String> environmentNames) {
        if (environmentNames == null) {
            this.environmentNames = null;
            return;
        }

        this.environmentNames = new com.amazonaws.internal.SdkInternalList<String>(environmentNames);
    }
<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.
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/DescribeEnvironmentsRequest.java