public CreateVpcEndpointRequest withIpAddressType(String ipAddressType) {
        setIpAddressType(ipAddressType);
        return this;
    }
<p>
The IP address type for the endpoint.
</p>

@param ipAddressType
       The IP address type for the endpoint.
@return Returns a reference to this object so that method calls can be chained together.
@see IpAddressType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateVpcEndpointRequest.java