code: public ServiceFuture<LuisResult> resolveAsync(String appId, String query, ResolveOptionalParameter resolveOptionalParameter, final ServiceCallback<LuisResult> serviceCallback) {
          return ServiceFuture.fromResponse(resolveWithServiceResponseAsync(appId, query, resolveOptionalParameter), serviceCallback);
      }
docs: Gets predictions for a given utterance, in the form of intents and entities. The current maximum query size is 500 characters.
  
  @param appId The LUIS application ID (Guid).
  @param query The utterance to predict.
  @param resolveOptionalParameter the object representing the optional parameters to be set before calling this API
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object