public CreateVpcEndpointRequest withVpcEndpointType(String vpcEndpointType) {
        setVpcEndpointType(vpcEndpointType);
        return this;
    }
<p>
The type of endpoint.
</p>
<p>
Default: Gateway
</p>

@param vpcEndpointType
       The type of endpoint.</p>
       <p>
       Default: Gateway
@return Returns a reference to this object so that method calls can be chained together.
@see VpcEndpointType
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateVpcEndpointRequest.java