code: public Archive stopArchive(String archiveId) throws OpenTokException {
  
          String archive = this.client.stopArchive(archiveId);
          try {
              return archiveReader.readValue(archive);
          } catch (Exception e) {
              throw new RequestException("Exception mapping json: " + e.getMessage());
          }
      }
docs: Stops an OpenTok archive that is being recorded.
  <p>
  Archives automatically stop recording after 120 minutes or when all clients have disconnected
  from the session being archived.
  
  @param archiveId The archive ID of the archive you want to stop recording.
  @return The Archive object corresponding to the archive being stopped.