code: public PatternRuleInfo updatePattern(UUID appId, String versionId, UUID patternId, PatternRuleUpdateObject pattern) {
          return updatePatternWithServiceResponseAsync(appId, versionId, patternId, pattern).toBlocking().single().body();
      }
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.
  @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 PatternRuleInfo object if successful.