public Instance withIpv6Addresses(java.util.Collection<String> ipv6Addresses) {
        setIpv6Addresses(ipv6Addresses);
        return this;
    }
<p>
The IPv6 addresses of the instance.
</p>

@param ipv6Addresses
       The IPv6 addresses of the instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/Instance.java