code: public DescribeEnvironmentsRequest withEnvironmentNames(String... environmentNames) {
          if (this.environmentNames == null) {
              setEnvironmentNames(new com.amazonaws.internal.SdkInternalList<String>(environmentNames.length));
          }
          for (String ele : environmentNames) {
              this.environmentNames.add(ele);
          }
          return this;
      }
docs: <p>
  If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the
  specified names.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEnvironmentNames(java.util.Collection)} or {@link #withEnvironmentNames(java.util.Collection)} if you
  want to override the existing values.
  </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.