code: public PagedList<StorageAccountInner> list() {
          PageImpl<StorageAccountInner> page = new PageImpl<>();
          page.setItems(listWithServiceResponseAsync().toBlocking().single().body());
          page.setNextPageLink(null);
          return new PagedList<StorageAccountInner>(page) {
              @Override
              public Page<StorageAccountInner> nextPage(String nextPageLink) {
                  return null;
              }
          };
      }
docs: Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.
  
  @return the PagedList<StorageAccountInner> object if successful.