code: public ScheduledInstancesNetworkInterface withIpv6Addresses(ScheduledInstancesIpv6Address... ipv6Addresses) {
          if (this.ipv6Addresses == null) {
              setIpv6Addresses(new com.amazonaws.internal.SdkInternalList<ScheduledInstancesIpv6Address>(ipv6Addresses.length));
          }
          for (ScheduledInstancesIpv6Address ele : ipv6Addresses) {
              this.ipv6Addresses.add(ele);
          }
          return this;
      }
docs: <p>
  The specific IPv6 addresses from the subnet range.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setIpv6Addresses(java.util.Collection)} or {@link #withIpv6Addresses(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param ipv6Addresses
  The specific IPv6 addresses from the subnet range.
  @return Returns a reference to this object so that method calls can be chained together.