public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv6Addresses(java.util.Collection<InstanceIpv6Address> ipv6Addresses) {
        setIpv6Addresses(ipv6Addresses);
        return this;
    }
<p>
The IPv6 addresses for the network interface.
</p>

@param ipv6Addresses
       The IPv6 addresses for 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/LaunchTemplateInstanceNetworkInterfaceSpecification.java