code: public DBSecurityGroup withIPRanges(IPRange... iPRanges) {
          if (this.iPRanges == null) {
              setIPRanges(new com.amazonaws.internal.SdkInternalList<IPRange>(iPRanges.length));
          }
          for (IPRange ele : iPRanges) {
              this.iPRanges.add(ele);
          }
          return this;
      }
docs: <p>
  Contains a list of <a>IPRange</a> elements.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setIPRanges(java.util.Collection)} or {@link #withIPRanges(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param iPRanges
  Contains a list of <a>IPRange</a> elements.
  @return Returns a reference to this object so that method calls can be chained together.