public NetworkInterface withIpv6Addresses(java.util.Collection<String> ipv6Addresses) {
        setIpv6Addresses(ipv6Addresses);
        return this;
    }
<p>
A list of IPv6 addresses for the EC2 instance.
</p>

@param ipv6Addresses
       A list of IPv6 addresses for the EC2 instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/NetworkInterface.java