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