code: public IpPermission withIpv4Ranges(IpRange... ipv4Ranges) {
          if (this.ipv4Ranges == null) {
              setIpv4Ranges(new com.amazonaws.internal.SdkInternalList<IpRange>(ipv4Ranges.length));
          }
          for (IpRange ele : ipv4Ranges) {
              this.ipv4Ranges.add(ele);
          }
          return this;
      }
docs: <p>
  The IPv4 ranges.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setIpv4Ranges(java.util.Collection)} or {@link #withIpv4Ranges(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param ipv4Ranges
  The IPv4 ranges.
  @return Returns a reference to this object so that method calls can be chained together.