code: public ListResolverEndpointIpAddressesResult withIpAddresses(IpAddressResponse... ipAddresses) {
          if (this.ipAddresses == null) {
              setIpAddresses(new java.util.ArrayList<IpAddressResponse>(ipAddresses.length));
          }
          for (IpAddressResponse ele : ipAddresses) {
              this.ipAddresses.add(ele);
          }
          return this;
      }
docs: <p>
  The IP addresses that DNS queries pass through on their way to your network (outbound endpoint) or on the way to
  Resolver (inbound endpoint).
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setIpAddresses(java.util.Collection)} or {@link #withIpAddresses(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param ipAddresses
  The IP addresses that DNS queries pass through on their way to your network (outbound endpoint) or on the
  way to Resolver (inbound endpoint).
  @return Returns a reference to this object so that method calls can be chained together.