public AssignIpv6AddressesResult withAssignedIpv6Prefixes(String... assignedIpv6Prefixes) {
        if (this.assignedIpv6Prefixes == null) {
            setAssignedIpv6Prefixes(new com.amazonaws.internal.SdkInternalList<String>(assignedIpv6Prefixes.length));
        }
        for (String ele : assignedIpv6Prefixes) {
            this.assignedIpv6Prefixes.add(ele);
        }
        return this;
    }
<p>
The IPv6 prefixes that are assigned to the network interface.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssignedIpv6Prefixes(java.util.Collection)} or {@link #withAssignedIpv6Prefixes(java.util.Collection)}
if you want to override the existing values.
</p>

@param assignedIpv6Prefixes
       The IPv6 prefixes that are assigned to the network interface.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/AssignIpv6AddressesResult.java