public CreateVpcEndpointRequest withVpcOptions(VPCOptions vpcOptions) {
        setVpcOptions(vpcOptions);
        return this;
    }
<p>
Options to specify the subnets and security groups for the endpoint.
</p>

@param vpcOptions
       Options to specify the subnets and security groups for the endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/CreateVpcEndpointRequest.java