public void setIpv6Addresses(java.util.Collection<String> ipv6Addresses) {
        if (ipv6Addresses == null) {
            this.ipv6Addresses = null;
            return;
        }

        this.ipv6Addresses = new java.util.ArrayList<String>(ipv6Addresses);
    }
<p>
The IPv6 addresses of the instance.
</p>

@param ipv6Addresses
       The IPv6 addresses of the instance.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/Instance.java