docs: public PagedList<ActivityInner> listByModule(final String resourceGroupName, final String automationAccountName, final String moduleName) {
          ServiceResponse<Page<ActivityInner>> response = listByModuleSinglePageAsync(resourceGroupName, automationAccountName, moduleName).toBlocking().single();
          return new PagedList<ActivityInner>(response.body()) {
              @Override
              public Page<ActivityInner> nextPage(String nextPageLink) {
                  return listByModuleNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }