public CreateApiRequest withRouteSelectionExpression(String routeSelectionExpression) {
        setRouteSelectionExpression(routeSelectionExpression);
        return this;
    }
<p>
The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method}
${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket
APIs.
</p>

@param routeSelectionExpression
       The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be
       ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property
       is required for WebSocket 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/CreateApiRequest.java