code: private ObjectListing getObjectListingChunkV1(ListObjectsRequest request) throws IOException {
      ObjectListing result;
      try {
        // Query S3 for the next batch of objects.
        result = mClient.listObjects(request);
        // Advance the request continuation token to the next set of objects.
        request.setMarker(result.getNextMarker());
      } catch (AmazonClientException e) {
        throw new IOException(e);
      }
      return result;
    }
docs: Get next chunk of listing result.