public static LuisRuntimeAPI authenticate(EndpointAPI endpointAPI, ServiceClientCredentials credentials) {
        return authenticate(String.format("https://%s/luis/v2.0/", endpointAPI.toString()), credentials)
            .withEndpoint(endpointAPI.toString());
    }
public static LuisRuntimeAPI authenticate ( EndpointAPI endpointAPI , ServiceClientCredentials credentials ) { return authenticate ( String . format ( "https://%s/luis/v2.0/" , endpointAPI . toString ( ) ) , credentials ) . withEndpoint ( endpointAPI . toString ( ) ) ; }
Initializes an instance of Language Understanding (LUIS) Runtime API client.

@param endpointAPI the endpoint API
@param credentials the management credentials for Azure
@return the Language Understanding (LUIS) Runtime API client