public UnassignIpv6AddressesRequest withIpv6Addresses(String... ipv6Addresses) {
        if (this.ipv6Addresses == null) {
            setIpv6Addresses(new com.amazonaws.internal.SdkInternalList<String>(ipv6Addresses.length));
        }
        for (String ele : ipv6Addresses) {
            this.ipv6Addresses.add(ele);
        }
        return this;
    }
public UnassignIpv6AddressesRequest withIpv6Addresses ( String ... ipv6Addresses ) { if ( this . ipv6Addresses == null ) { setIpv6Addresses ( new com . amazonaws . internal . SdkInternalList < String > ( ipv6Addresses . length ) ) ; } for ( String ele : ipv6Addresses ) { this . ipv6Addresses . add ( ele ) ; } return this ; }
<p>
The IPv6 addresses to unassign from the network interface.
</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 IPv6 addresses to unassign from the network interface.
@return Returns a reference to this object so that method calls can be chained together.