public void setIpv6(String ipv6) {
        this.ipv6 = ipv6;
    }
<p>
The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6 address if
the VPC endpoint supports IPv6.
</p>
<p>
If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network interface
with a new endpoint network interface with this IP address. This process temporarily disconnects the subnet and
the VPC endpoint.
</p>

@param ipv6
       The IPv6 address to assign to the endpoint network interface in the subnet. You must provide an IPv6
       address if the VPC endpoint supports IPv6.</p>
       <p>
       If you specify an IPv6 address when modifying a VPC endpoint, we replace the existing endpoint network
       interface with a new endpoint network interface with this IP address. This process temporarily disconnects
       the subnet and the VPC endpoint.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/SubnetConfiguration.java