public ImportApiRequest withBasepath(String basepath) {
        setBasepath(basepath);
        return this;
    }
<p>
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split.
The default value is ignore. To learn more, see <a
href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html">Set the
OpenAPI basePath Property</a>. Supported only for HTTP APIs.
</p>

@param basepath
       Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and
       split. The default value is ignore. To learn more, see <a
       href="https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api-basePath.html"
       >Set the OpenAPI basePath Property</a>. Supported only for HTTP APIs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/ImportApiRequest.java