public RunInstancesRequest withIpv6AddressCount(Integer ipv6AddressCount) {
        setIpv6AddressCount(ipv6AddressCount);
        return this;
    }
<p>
The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6
addresses from the range of your subnet. You cannot specify this option and the option to assign specific IPv6
addresses in the same request. You can specify this option if you've specified a minimum number of instances to
launch.
</p>
<p>
You cannot specify this option and the network interfaces option in the same request.
</p>

@param ipv6AddressCount
       The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6
       addresses from the range of your subnet. You cannot specify this option and the option to assign specific
       IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of
       instances to launch.</p>
       <p>
       You cannot specify this option and the network interfaces option in the same request.
@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/RunInstancesRequest.java