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