public void setIpv6Prefixes(java.util.Collection<Ipv6PrefixSpecificationRequest> ipv6Prefixes) {
        if (ipv6Prefixes == null) {
            this.ipv6Prefixes = null;
            return;
        }

        this.ipv6Prefixes = new com.amazonaws.internal.SdkInternalList<Ipv6PrefixSpecificationRequest>(ipv6Prefixes);
    }
<p>
The IPv6 prefixes assigned to the network interface.
</p>
<p>
You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6
addresses, or a count of IPv6 addresses.
</p>

@param ipv6Prefixes
       The IPv6 prefixes assigned to the network interface.</p>
       <p>
       You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes,
       specific IPv6 addresses, or a count of IPv6 addresses.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateNetworkInterfaceRequest.java