code: public GetRegionsResult withRegions(Region... regions) {
          if (this.regions == null) {
              setRegions(new java.util.ArrayList<Region>(regions.length));
          }
          for (Region ele : regions) {
              this.regions.add(ele);
          }
          return this;
      }
docs: <p>
  An array of key-value pairs containing information about your get regions request.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRegions(java.util.Collection)} or {@link #withRegions(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param regions
  An array of key-value pairs containing information about your get regions request.
  @return Returns a reference to this object so that method calls can be chained together.