code: @Override
      public CompleteSnapshotTaskResult completeSnapshot(String spaceId)
          throws ContentStoreException {
          CompleteSnapshotTaskParameters taskParams =
              new CompleteSnapshotTaskParameters();
          taskParams.setSpaceId(spaceId);
  
          String taskResult =
              contentStore.performTask(SnapshotConstants.COMPLETE_SNAPSHOT_TASK_NAME,
                                       taskParams.serialize());
  
          return CompleteSnapshotTaskResult.deserialize(taskResult);
      }
docs: {@inheritDoc}