public LaunchTemplateInstanceNetworkInterfaceSpecification withPrimaryIpv6(Boolean primaryIpv6) {
        setPrimaryIpv6(primaryIpv6);
        return this;
    }
<p>
The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the
first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is
detached. For more information about primary IPv6 addresses, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.
</p>

@param primaryIpv6
       The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary
       IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the
       network interface is detached. For more information about primary IPv6 addresses, see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html">RunInstances</a>.
@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