code: public OperationStatus updateRegexEntityModel(UUID appId, String versionId, UUID regexEntityId, RegexModelUpdateObject regexEntityUpdateObject) {
          return updateRegexEntityModelWithServiceResponseAsync(appId, versionId, regexEntityId, regexEntityUpdateObject).toBlocking().single().body();
      }
docs: Updates the regex entity model .
  
  @param appId The application ID.
  @param versionId The version ID.
  @param regexEntityId The regex entity extractor ID.
  @param regexEntityUpdateObject An object containing the new entity name and regex pattern.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the OperationStatus object if successful.