code: public ServiceFuture<PatternRuleInfo> updatePatternAsync(UUID appId, String versionId, UUID patternId, PatternRuleUpdateObject pattern, final ServiceCallback<PatternRuleInfo> serviceCallback) {
          return ServiceFuture.fromResponse(updatePatternWithServiceResponseAsync(appId, versionId, patternId, pattern), serviceCallback);
      }
docs: Updates a pattern.
  
  @param appId The application ID.
  @param versionId The version ID.
  @param patternId The pattern ID.
  @param pattern An object representing a 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