code: public ServiceFuture<PatternRuleInfo> addPatternAsync(UUID appId, String versionId, PatternRuleCreateObject pattern, final ServiceCallback<PatternRuleInfo> serviceCallback) {
          return ServiceFuture.fromResponse(addPatternWithServiceResponseAsync(appId, versionId, pattern), serviceCallback);
      }
docs: Adds one pattern to the specified application.
  
  @param appId The application ID.
  @param versionId The version ID.
  @param pattern The input pattern.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object