code: @Override
      public CreateSnapshotTaskResult createSnapshot(String spaceId,
                                                     String description,
                                                     String userEmail)
          throws ContentStoreException {
          CreateSnapshotTaskParameters taskParams =
              new CreateSnapshotTaskParameters();
          taskParams.setSpaceId(spaceId);
          taskParams.setDescription(description);
          taskParams.setUserEmail(userEmail);
  
          String taskResult =
              contentStore.performTaskWithNoRetries(SnapshotConstants.CREATE_SNAPSHOT_TASK_NAME,
                                                    taskParams.serialize());
  
          return CreateSnapshotTaskResult.deserialize(taskResult);
      }
docs: {@inheritDoc}