code: public DescribeEnvironmentsRequest withEnvironmentIds(String... environmentIds) {
          if (this.environmentIds == null) {
              setEnvironmentIds(new java.util.ArrayList<String>(environmentIds.length));
          }
          for (String ele : environmentIds) {
              this.environmentIds.add(ele);
          }
          return this;
      }
docs: <p>
  The IDs of individual environments to get information about.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEnvironmentIds(java.util.Collection)} or {@link #withEnvironmentIds(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param environmentIds
  The IDs of individual environments to get information about.
  @return Returns a reference to this object so that method calls can be chained together.